Does someone know how to make a working navigation bar that shows/hides certain elements of the webpage? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does someone know how to make a working navigation bar that shows/hides certain elements of the webpage?

more specifically I'm trying to make it work using the single HTML file we have in the coding playground. edit: I have found stuff that works for 2 pages but I'm looking for something that works with more than that.

2nd Sep 2017, 2:32 PM
Toastboy
2 Answers
+ 2
do you mean something like this? https://code.sololearn.com/WwO3eo2duzT1/?ref=app or just certain things? (i know the code is inefficient and theres not really any content but its hard to type on a phone)
2nd Sep 2017, 3:46 PM
Enzo
Enzo - avatar
+ 1
yes that's exactly what I meant, thank you so much! :)
2nd Sep 2017, 3:59 PM
Toastboy