there is a problem with my nav links
which i can’t figure out. this is the message
‘When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.’
my links are working, i even changed their locations around the page, yet it keeps not accepting it.
this is the link to the page
can anyone please take a look and tell me what’s wrong
Your statement is kind of contradictory, though.
What you created is a bookmark(fragment identifier).
If i got you right, what you need to create is either an absolute or relative url. But in this case, relative URL seems fit.
https://www.w3schools.com/html/html_links.asp should make it clear.
sorry,i meant i believe my work is right, yet i cant pass the project.
the links refer to different sections in the same page, so they are more like bookmarks.
i found out my mistake. i put the nav-link class in the
thanks for your help
my mistake was that i put the nav-link class in the list tag not the anchor tag