I’m struggling to understand the difference between nav and navbar classes. When do I use one vs the other. It seems from my reading that navbar is a flexbox by default… if I make a navbar like the guides example -
Sorry it’s almost been two years. I have the same question and here is what I found. There are two classes that seem the same .nav and .nav-bar. I believe .nav-bar is intended for the main page navigation on top of the page and has a whole bunch of styling attributes available. The .nav class is for simple navigation and adds a display: flex; attribute to the nav ul links. I believe you can have a .nav and style it with .nav-bar attributes if you just at the .nav-bar class to the element.
I think that should be the correct way to do it sir
You have already said you want to create a navbar and thats the first thing you decleard…SO why should you declear another navbar in the ul but nav