Reputation: 185
This is going to read like an extremely silly and novice question.... But I cannot seem to work out what is wrong with my code.
I want to have my menu links at the top the page link to different sections within the same page. I have read up on a few various topics including How do I link to part of a page? (hash?) but I just can't get it working.... Any help would be great.
If it helps I am building this on codepen.....not sure if that makes any difference.
The code I am using is:
<a href="#services">Services</a>
<div id="services><h3>Our Services</h3></div>
Upvotes: 0
Views: 91
Reputation: 1552
A double quote is missing at the end of services.
<div id="services"><h3>Our Services</h3></div>
Syntax highlighting is your friend !
Upvotes: 3