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 trial

HTML

how do you link from one paragraph to another paragraph i.e. challenge task 3 html basics portfolio question

challenge task 3

1 Answer

Steven Parker
Steven Parker
231,269 Points

You forgot to provide a link to the course page, but the basic idea of creating a link to a place on the same page is to give the target element an "id" attribute, then create a link and for the "href" value, supply the id with a "#" symbol in front. For example:

<a href="#sample">Click here to go to sample</a>

<!-- ... -->

<h1 id="sample">Sample Area</h1>

does not work

Steven Parker
Steven Parker
231,269 Points

That's just a generic example. For more specific help, please provide a link to the page you are working with.