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 Going Further with HTML Email Links and Entities Challenge

Messan Teko-Agbo
Messan Teko-Agbo
740 Points

Replace the ampersand and the copyright symbol with an html character entity

What am i doing wrong?

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h3>Design &lt; Development</h3>
    <p>Contact me at <a href="mailto:messan@hotmail.com">this email</a>.</p>
    <p>&gt; 2017</p>
  </body>
</html>

5 Answers

On line 7, this

<h3>Design & Development</h3>

Is changed to

 <h3>Design &amp; Development</h3>

Line 9

  <p>© 2017</p>

Is changed to

<p>&copy; 2017</p>
Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! I received your request for assistance. You are replacing the ampersand with a the html entity for a <. The lt stands for "less than". And you are replacing the copyright symbol with the html entity for the >. The gt stands for greater than. The symbols should be replaced with their corresponding HTML entities.

You can find a list of the entities and their corresponding symbols in this documentation.

Hope this helps! :sparkles:

Godfrey M
PLUS
Godfrey M
Courses Plus Student 2,696 Points

<!DOCTYPE html> <html lang="eng"> <head> <meta charset="utf-8"> <title>My Page</title> </head> <body> <h3>Design & Development</h3> <p>Contact me at <a href="mailto:messan@hotmail.com">this email</a>.</p> <p>© 2017</p> </body> </html>

with this code you should be able to pass this test

Godfrey M
PLUS
Godfrey M
Courses Plus Student 2,696 Points

sorry but simple trick is place "&" between design and development , then place " ©" before 2017. don't forget the semicolons please its important!! and that's it thanks

HIDAYATULLAH ARGHANDABI
HIDAYATULLAH ARGHANDABI
21,030 Points

the correct answer is

<!DOCTYPE html> 
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h3>Design &amp; Development</h3>
     <p>Contact me at <a href="mailto:coolvrexperience@gmail.com?subject=Hi There!">Arybrown@me.com</a>.</p>
    <p>copyright &COPY;  2017</p>
  </body>
</html>