Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKris Smith
2,992 PointsArticles not linking to section. Here is the code: <li><a href="#articles">Articles</a></li>
Every other section linked perfectly. I removed the code, re-added it, and still nothing.
Emmanuel C
10,636 PointsDid you add the id of articles to the appropriate section element tag? Posting the whole source code would help more, also check out the Markdown Cheatsheet for tips on how to format it, to make it easier to read.
2 Answers
Unsubscribed User
Front End Web Development Techdegree Student 33,900 PointsHi Kristen,
your code looks correct.
Therefore I assume that the problem is within the "id" attribute that the link goes to...
Could you copy the complete code in here? Or maybe you find the problem already if you take a look at the id attribute...
If you copy the code make sure to include "´´´html" at the beginning of the code and "´´´" at the end so the code will be transformed into nicely readable code format here. :-)
Happy coding and always keep going!
Nils
ng17
6,285 PointsYou want to make sure that your section has the proper attribute id, that both of them are plural or singular, and they have matching uppercase/lowercase letters. Hopefully that helps.
So it should look like:
<section id="articles">
Camilo Lucero
27,692 PointsCamilo Lucero
27,692 PointsCan you add the complete HTML?