02. First Route and View, Laravel Practice

// routes / web.php

Route::get('/', function () {
    return view('home');
});

Route::get('/about', function () {
    return 'about page';
});



Resources /

  • Views / welcome.blade.php (3.25)

blade Laravel’s templating enging

hello world

a View is the markup in the template of what the user Views

Tivoli Smuggeled red wine in and drank from this wine glass Tivoli and ship

Anti-AI magic: Skill-Building and creating

Route::get('/', function () {
    return view('home');
});