Category: Laravel

Using CSS and Images

We put all the css and images in public folder. We will create separate folder for each and put images and css inside it. Create new folder for css inside the public folder after that create a new file main.css inside the css folder and copy all...
READ MORE   >>

Generic layout for header and footer

For creating a generic layout in Laravel, first of all we need to create a new folder inside the views with the name layouts and create a new file layout.blade.php inside this folder and perform the following steps: Copy all the header and...
READ MORE   >>

Blade Array

Array syntax is Laravel is same as in another, here we pass array as a second argument in view and create that array outside Like below and call this array either using any loop but we use foreach loop that do the work simple for an array. There...
READ MORE   >>

Blade Loops

All the basic syntax of loop is same as in another programming language, but we have to start with @ symbol. For example: <html>     <head>         <title>Laravel...
READ MORE   >>

Recent Comments

    • Copyright © 2020 (Er. Shairy Kalra). All Rights Reserved