Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,882 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,882 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.