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 trialjorge hernandez
9,406 Pointsid selector
Any link that I click takes me to the top of the page but why? Even without using the id selector like in the video.
2 Answers
Al Hossain
Courses Plus Student 61 PointsBecause there isn't any link available to go so when you click on a link like this one < a href="#">Home</a>
or < a href="">Home</a>
it should probably reload the page and take you on top of a page but when you work locally you will never understand reloading because site loads fast but when you visit a site and click like this URL it should reload and take you to top of page. I think you got my point.
jorge hernandez
9,406 PointsThank you Al Hossain. That makes sense.