Getting Started With a New Angular Project

->ng new AppName ->Add SCSS (I was informed it’s the convention with angular) ->cd AppName ->ng add @angular/material ->Setup Hammer JS for gesture recognition :YES ->Set up browser animations for Angular Material :Yes ->npm install ->ng serve All of this is...

Owl Carousel Docs

Documentation can be found hereOwl Carousel https://owlcarousel2.github.io/OwlCarousel2/Add font awesome as well because font awesome is awesome. wp_enqueue_style(‘fontawesome’, ‘https://use.fontawesome.com/releases/v5.2.0/css/all.css’);...

Laravel Route With Null-able Parameter

When making a route you can set a null-able parameter, this will save you in terms of routing like doing an if, and if the parameter is there or not you can then perform your actions based on those parameter rules.You would write is like so.Not null-able does not have...

Laravel Same Time Create Model and Controller

————————————– To create your model and controller together you can do this.Method 1 : Does not set controllers as resource items. php artisan make:controller CustomersController...

C# MVC Project Return Vars on a Page

Inside your Controller in this case it’s the Movies Controller.The action Result below is Index so on other words the Home of the Movies Controller. In this action there’s two IF statements. If you load this controller-> Index it will return...

C# Return Methods

namespace Vidly.Controllers { public class MoviesController : Controller { public ActionResult Random() { Movie movie = new Movie() { Name = “Shrek!” }; // THE RETURN METHODS BELOW // return View(movie); // return Content(“Hello World!”); //...

Pin It on Pinterest

Share This