skip to Main Content

In Laravel how can I make a side bar when pressed goes to the page content link but still is the current page

I want to have the same mechanism like this https://www.w3schools.com/html/default.asp but in laravel application This is my code on routes/web.php Route::get('tutorial', function(){ $tutorial = Tutorial::get(); return view('tutorial.index')->with('tutorial', $tutorial); })->name('index-tutorial'); // Show one Tutorial by Id Route::get('tutorial/{id}', function($id){ $tutorial = Tutorial::findOrFail($id);…

VIEW QUESTION
Back To Top
Search