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!
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 trial
Jen Haga6,416 Points
Project 2: Responsive Layout, anchor elements
All seems to be going well so far in my work on Project 2. I added anchor elements so that the nav bar at the top will take the visitor to the desired section. I also added "Back to Top" and that is working fine. When I click "PORTFOLIO" on the nav bar, I'm taken to the top of the portfolio as expected. But when I click on "SKILLS" OR "CONTACT" on the nav bar, I'm not taken to the TOP of those sections. Is that related to the amount of content in those sections (just a few lines)? How do I make the nav link take me to the top of those sections?