How to make navigation buttons in the <nav> to navigate the user with in the page? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How to make navigation buttons in the <nav> to navigate the user with in the page?

For example. In fb page if click on "friends" it take us to friends.If we click on "home" it takes us to "Home" in the same way. I want to make a website in which I want divide it into 5 sections. If I click on ABOUT button then users must see about information sharing with some links if I click on EVENTS , information realated events should be seen. šŸ™ Please someone help me with thisšŸ™‚

20th Oct 2020, 4:52 PM
Hanumanthu Lakshmana Rao
Hanumanthu Lakshmana Rao - avatar
2 Respostas
+ 2
It can be done with href of an element which equals id of another elemet on the page where you go to. This is a live example for navigate the user within the page: https://code.sololearn.com/WJqv5tPfKuso/?ref=app
20th Oct 2020, 5:21 PM
JaScript
JaScript - avatar
+ 1
Hanumanthu Lakshmana Rao , learn django or rubyonrails or laravel or whatever framework you like to build dynamic webpages
20th Oct 2020, 6:15 PM
Shadoff
Shadoff - avatar