@Eileenpk
Posted
Hi Mohammad, your project looks good.
To make navigation links go to a specific place on a webpage, you can use the HTML anchor tag <a>
with the "href" attribute set to the id of the element you want to link to.
For example, if you have a header element on the page with the id "header":
<header id="header">...</header>
You can create a link to that element by using the id in the "href" attribute of the anchor tag:
<a href="#header">Go to header</a>
When the user clicks on the link, the browser will scroll to the element with the matching id.
Hope you found this helpful!
- Let's connect on LinkedIn! - @Eileenpk
Marked as helpful