404 Object not found, why?

When you click on the link I get a 404 when you click on the URL in the browser pages are loaded ..
How to specify the transition for anchors ?
<div class="collapse navbar-collapse" id="myNavbar">
 <ul class="nav navbar-nav">
 <li class="active"><a href="/main">Home</a></li>
 the <li><a href="/about">About Us</a></li>
 the <li><a href="/contact">Contact Us</a></li>
 the <li><a href="/news">News</a></li>
 the <li><a href="/location">Our Location</a></li>
 the <li><a href="/clients">Our Clients</a></li>
 the <li><a href="/login">login</a></li>
 the <li><a href="/register">Register</a></li>
</ul>
 </div>


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

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


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


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


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


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


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


Route::get('/news', function () {
 return view('news');
});
June 10th 19 at 14:47
1 answer
June 10th 19 at 14:49
To fix this:
<li class="active"><a href="/main">Home</a></li>

This:
<li class="active"><a href="/">Home</a></li>
I agree there is an error I did not finish .. But what about the rest ? - herman.Koe commented on June 10th 19 at 14:52
Show file of ranting selikom + app/Providers/RouteServiceProvier - Annalise commented on June 10th 19 at 14:55

Find more questions by tags Laravel