Navbar help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Navbar help

Hi guys, I have been looking at 4 different methods of creating a navbar (all completely different!) But they either make no sense, are messy or just dont work correctly. I just want a logic method that uses a separate css style sheet and works effectively. Anyone got any thoughts? Thanks.

3rd Oct 2019, 9:50 PM
DaveyR
9 Answers
+ 2
This one has a external style sheet and is simple. https://code.sololearn.com/WZeW9v9Ei9Ge/?ref=app
5th Oct 2019, 4:37 PM
Mr. Jason Hester (storm me, follow me)
Mr. Jason Hester (storm  me,  follow me) - avatar
+ 1
Those are nice, It'll take me a while to unpick those and figure out how they work! The layout is very tidy though which helps, thank you!
5th Oct 2019, 6:27 AM
DaveyR
+ 1
That's great, thanks for all the links. The responsive menu is a great example to reverse engineer
5th Oct 2019, 7:30 PM
DaveyR
0
That's interesting, I hadn't realised that difference.
4th Oct 2019, 5:25 PM
DaveyR
0
I'll look into anchor tags that sounds very versatile. Thanks for that I'll get researching. One last thing, which part of the box is the best way to centralize the text in the box?
4th Oct 2019, 7:17 PM
DaveyR
0
My opinion: Include Bootstrap files , go to the official bootstrap site and search for navbar, copy the code and modify it as you wish. That's how I did in https://code.sololearn.com/Win25h47mQ0j/?ref=app https://code.sololearn.com/W0icwnGeJ52O/?ref=app 😁😊😅
5th Oct 2019, 8:42 AM
Shivam 256 🇮🇳
Shivam 256 🇮🇳 - avatar
0
That's a very good thought I have definitely looked into bootstrap however I am trying to get a good foundation making them from scratch
5th Oct 2019, 3:15 PM
DaveyR