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 Introduction to HTML and CSS (2016) HTML: The Structural Foundation of Web Pages and Applications Test: Creating an HTML Element

Whenever I try to complete task 3 my making the link go to the top of the page it says task 1 is no longer working.

I'm doing anything to the line of code for task one so I don't know why this is happening.

    <title>My trip to Spain</title>

    <img src=/spain.jpg alt="A picture of me in Spain">
    <p> Here is a picture of me in Spain last summer!</p>
    <a href= "#top">Go back to the top of the page.</a>


5 Answers

Ben Sohl
Ben Sohl
5,670 Points

You are missing the " " around your src for your image.

You have to add "images/Spain.ipg" You forgot images!!!!

In Spain s in small letter.

In your href tag, it looks like there's an extra space between the = and opening parenthesis "

Andrew Hartley
Andrew Hartley
2,750 Points

Somehow, your "src" attribute has broken. Change it to src="images/spain.jpg" (DON'T FORGET THE QUOTES!) and it should work...

The above answers are definitely correct. Double quotation marks are needed around your Spain.jpg image. And of course, if it is in a directory, then designate it as img/Spain.jpg ?