The .nav-link with href="#motorbikes" is not linked to a corresponding element on the page

Already tried everything here…Tried to use the tag to anchor creating ids and classes and is still not working…can somebody share a light on this for me?

My code so far:![freecodecamp|690x431]
The error msg: (upload://vaOhgCGrN7TouLiy2kpJqNIOygY.png)

Thanks in advance.

I cannot see you giving id="motorbikes" anywhere in your code.

sorry…it was because i deleted it…but here its now

You have to give id="motorbikes" not id="#motorbikes"
I hope it will work now.

IS WORKING!!! THANK YOU MY FRIEND! :blush: :pray:t5: :pray:t5:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.