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

Nav - help

Ok, you know the nav tag that you use as a header usually; So, let's say it says home, service, about. If I wanted some text to appear when I click on about, how do I do that? Like ...,the text or other things appear when you click on certain nav button (ex. About).

7th Apr 2019, 5:45 AM
Ginfio
Ginfio - avatar
2 Answers
0
Link the content to that button or nav As <nav> <ul> <li> <a href= "locationYouWantToAppear">Home</a> </li> <li> <a href= "location">Service</a> </li> </ul> </nav>
9th Apr 2019, 3:12 AM
Prabhat Kumar Singh
Prabhat Kumar Singh - avatar
0
Have you guysever used "rep.it coding"? if yes, i got a questuon.
9th Apr 2019, 8:02 PM
Ginfio
Ginfio - avatar