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

WHere am I getting wrong

I closed the paragraph but it is refusing

index.html
<!doctype>
<html>
  <head>
    <title>My trip to Spain</title>
  </head>
  <body>

<img src="images/spain.jpg" alt="A picture of me in Spain">

<p>Here is a picture of me in Spain last summer!
<a>Go back to the top of the page,</a><\p>

  </body>
</html>

2 Answers

Kevin Razafindrabe
Kevin Razafindrabe
6,484 Points

Hey Abdinasir it's because by closing the tag you wrote it with a backlash as so "<\p>" but it should be closed with a slash as so "</p>" it's just a common typo mistake

Alexandra Barnett
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexandra Barnett
Front End Web Development Techdegree Graduate 46,473 Points

Ho Abdinasir! The paragraph tag wants to be closed after the word summer:

<img src="images/spain.jpg" alt="A picture of me in Spain">
    <p>Here is a picture of me in Spain last summer!</p>

Hope that helps - let me know if you have any questions :)

I did close the paragraph tag after summer but still telling close the paragraph