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

aprille manongsong
aprille manongsong
2,683 Points

I'm stuck. I tried different character

I'm stuck. I tried different character entity to replace the copyright entity but my answers are always wrong..

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

1 Answer

Dave Harker
PLUS
Dave Harker
Courses Plus Student 15,510 Points

Hi aprille manongsong,

May I suggest rewatching the HTML Entities and Reserved Characters video.
Or if you just want the answer ....

ampersand is: &amp;
copyright is: &copy;

Best of luck and happy coding :dizzy:
Dave

aprille manongsong
aprille manongsong
2,683 Points

It says "replace the ampersand and copyright with an html entity" so I tried different entities and the answer is still wrong.. Thanks btw

Dave Harker
Dave Harker
Courses Plus Student 15,510 Points

Ok, Ill write it out...

<!DOCTYPE html> 
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h3>Design &amp; Development</h3>
    <p>Contact me at <a href="mailto:april_21@hotmail.it">this email</a>.</p>
    <p>&copy; 2017</p>
  </body>
</html>

That will pass both challenges . Hope that makes more sense ...

Kind regards,
Dave