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 trialHoussein Abil
Full Stack JavaScript Techdegree Student 1,047 PointsHow to go to the Bottom of the page
I would like to know in HTML how to go to the bottom of the page. I've tried href="#bot" but its not working.
2 Answers
iuliana sagaidak
4,797 Points<a href="#top">Back to top ยป</a>
but dont forget to add first the same id to where you want it back's:
<header id="top" class="main-header">
Houssein Abil
Full Stack JavaScript Techdegree Student 1,047 PointsOk i get it now. Its more about the selector, for instance using ID.
Matti Helenius
421 PointsMatti Helenius
421 PointsTry this, put this top of the page.
<A HREF="#codeword">Blue Words, Blue Words</A>
Here's how you denote where the jump will scroll the page:
<A NAME="codeword">