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

Replace the ampersand and copyright symbol with an HTML character entity.

I tried © © Even copyright Neither of them are working. So what is gonna be the answer?

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h3>Design & Development</h3>
    <p>Contact me at <a href="mailto:coolvrexperience@gmail.com?subject=Hi%20There!">this email</a>.</p>
    <p>&#169;2017</p>
  </body>
</html>

You have to replace the & and © with the HTML syntax for them. So the syntax for & in HTML is '&amp'; and the symbol for © in HTML is '&copy'; . Just make sure you remove the ' ' I put in so the syntax would display.

Abinet make the and to & and copyright will be before 2017 that is © it will work

10 Answers

the answer is and this one works: <p&amp; &copy; 2017</p> just place the additional greater sign I left it out so the computer wont translate the code

I don't understand why the > on the <p> has to be left out? I checked back in the video and it states nothing about that. Is there an answer to why this has to be done? If it's not covered, it should not be on a quiz..

that one works just fine, thanks man.

This works! Thank you!

Agree, i am not understanding this concept?

Though this code works, but i am not sure how it worked :(

Hi All, It's missing the

; 

from the end

&amp;
&copy;

Check this site out, it's very useful [https://dev.w3.org/html5/html-author/charref]

correct answer

the correct code 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>

<!DOCTYPE html>

<html> <head> <title>My Page</title> </head> <body> <h3>Design & Development</h3> <p>Contact me at <a href="mailto:ecalayag@gmail.com">this email</a>.</p> <p> ©2017</p> </body> </html>

try my comment i have posted for this question it will help you

I'm stuck with this as well. I've tried both entries from the Character Entity Reference Chart as well as '&copy' without the ' ' and still it won't pass it.

the question is to replace the ampersand and copyright symbol, so the below is what u can do <p> & a m p ;& c o p y ; 2017</p>

Thank you!

The question is to replace with html character entity

Add<p> &© 2017</p>

this wont work please check my answer i posted recently

<p>& © 2017</p>

Yeah, this one is one difficult challenge. I know the syntax but how to present as thier requiring us to do is one difficult entity

I did HIDAYATULLAH ARGHANDABI and the code worked. Maybe its a bug. Sometimes on freecodecamp the same right code would be wrong for me. I had to wait a day for the thing not to bug.

<!DOCTYPE html> <html> <head> <title>My Page</title> </head> <body> <h3>Design & 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>

Did you tried with © ?

You can check this site for more

I hope it helps

i tried my code and it works