Trouble with Navbar

Hi
I’m having trouble with bootsrap’s navbar - I can’t see the NavLinks that I added
my code is identical to mosh’s.

anyone familiar??

1 Like

I figured out that it’s a problem with bootstrap, and with a few changes it worked.


2 Likes

this did not work for me . bootstrap is not loading properly for the navbar.

1 Like

You forgot nav-item class for the NavLink tags.

<NavLink className="nav-item nav-link" to="/movies">
  Movies
</NavLink>
<NavLink className="nav-item nav-link" to="/customers">
  Customers
</NavLink>
<NavLink className="nav-item nav-link" to="/rentals">
  Rentals
</NavLink>