Help!!!! i'm strucked here... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Help!!!! i'm strucked here...

I have created two div tags in my webpage I have created nav menu links in 1st div ,how can i open them in second div??? like many websites if we click on navigation links they will show content below

11th Sep 2017, 5:10 PM
Srinivas Chanti
Srinivas Chanti - avatar
3 Answers
+ 9
Never seen nothing similar before, can you give me more details or (preferable) a visual example? ._.
11th Sep 2017, 5:30 PM
Maz
Maz - avatar
11th Sep 2017, 9:29 PM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 3
<div id="banner"> <h2>put what you want here</h2> <p>just adjust javascript size to match this window</p> </div> <nav id='nav_bar'> <ul class='nav_links'> <li><a href="url">Sign In</a></li> <li><a href="url">Blog</a></li> <li><a href="url">About</a></li> </ul> </nav> <div id='body_div'> <p style='margin: 0; padding-top: 50px;'>and more stuff to continue scrolling here</p> </div> you can try this
11th Sep 2017, 5:36 PM
MsJ
MsJ - avatar