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

mohamed abdi
mohamed abdi
477 Points

html

Email Links and Entities Challenge

How to replace ampersand and copyright symbol with an html character entity

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h3>Design & Development</h3>
    <p>Contact me at <a href="mailto:ronaldo@gmail.com?subject=Hi%There!">ronaldo@gmail.com</a>.</p>
    <p>&amp;copy2017</p>
  </body>
</html>

3 Answers

Steven Parker
Steven Parker
231,248 Points

I see you have the correct character entity code for ampersand, but it's in the wrong place. It needs to replace the plain ampersand between the words "Design" and "Development" in the heading.

The code for the copyright entity is "&copy;".

SURENDRA MALLA
SURENDRA MALLA
3,727 Points

<p>&copy; 2017</p> dosent work either

Steven Parker
Steven Parker
231,248 Points

It will, but not by itself. You also need to make sure you're setting the entity for the ampersand (in "Design & Development").