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 HTML Basics Images, Text and Links Text Level Elements Challenge

Amy Howard
seal-mask
.a{fill-rule:evenodd;}techdegree
Amy Howard
Front End Web Development Techdegree Student 1,807 Points

Preview shows code is working, but I'm receiving an error message.

The error message says to make sure I'm adding the breaks to the second paragraph, so it sounds like the placement is the issue, rather than the code itself, but I've double-checked and I have placed it around the address in the second paragraph element--what am I missing?

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>HTML Text</title>
  </head>
  <body>
    <p>Mike's favorite course is HTML Basics</p>
    <p>
      <address>
      Mike T. Frog<br>
      100 Lilypad Way<br>
      Portland, OR 97227
    </address>
    </p>
  </body>
</html>

4 Answers

Antonio De Rose
Antonio De Rose
20,885 Points

address node is not needed.

<!DOCTYPE html> 
<html>
  <head>
    <title>HTML Text</title>
  </head>
  <body>
    <p>Mike's favorite course is HTML Basics</p>
    <p>
      <address><!--why is this, not needed-->
      Mike T. Frog<br>
      100 Lilypad Way<br>
      Portland, OR 97227
    </address><!--take off this too-->
    </p>
  </body>
</html>
Amy Howard
seal-mask
.a{fill-rule:evenodd;}techdegree
Amy Howard
Front End Web Development Techdegree Student 1,807 Points

Thank you, that did it! I understood from the video that it's standard practice to set off an address with that tag--is that correct? But perhaps that's more than the challenge question was asking me to do in this instance.

Antonio De Rose
Antonio De Rose
20,885 Points

yes it is a standard practice, but when it comes to actioning the questions in teamtreehouse, 2 things, answer to only and only the question, and do not change the question format.