Now, I make a top navbar and everything is perfect. but when I click to any word in the navbar nothing appear related to this word …
So, I need help to do that. I coded using codepen.
How to do that .
Thanks in advance!
Without seeing your code, it would be very difficult to give you the correct advice. Can you please post a link to your Codepen project?
You have referenced your link with to the
id, but you haven’t used the
id in any of the sections
Do you have any resource to help me with this part?
<li><a href="#home">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#use">Use</a></li>
You have these id’s on the links referencing, but for the links to navigate the page, you need a section referencing that link,
#home, you should have an id to a section as
<section id="home">, therefore when home is clicked it navigates to this section
It works. Thanks a lot.