+ 4
How can I make this Nav bar function?
I want each link to take the user to the accociated section of the page and I haven't the slightest idea how to do it lol https://code.sololearn.com/WNU99ShCSlNn/?ref=app
2 Answers
+ 6
replace your current nav with this one:
<nav>
<ul>
<li><a href="#intro">ABOUT</a></li>
<li><a href="#skills">SKILLS</a></li>
<li><a href="#schedule">SCHEDULE</a></li>
<li><a href="#update">UPDATE</a></li>
<li><a href="#contact">CONTACT</a></li>
</ul>
</nav>
you almost got it right
the value for the href attribute should be # (for the id) and then the corresponding id of the element you want to go to
+ 2
@Kamil Thank you! Yay!