+ 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

6th Jan 2018, 10:43 PM
Dutch
Dutch - avatar
2 Respostas
+ 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
6th Jan 2018, 10:53 PM
Kamil
Kamil - avatar
+ 2
@Kamil Thank you! Yay!
6th Jan 2018, 11:00 PM
Dutch
Dutch - avatar