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

Abinet Kenore
Abinet Kenore
10,082 Points

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>
Zachary Pimentel
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Zachary Pimentel
Front End Web Development Techdegree Graduate 18,393 Points

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.

HIDAYATULLAH ARGHANDABI
HIDAYATULLAH ARGHANDABI
21,058 Points

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

10 Answers

Reginald Levy
Reginald Levy
2,975 Points

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

B G
B G
1,866 Points

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.

Joshika Naidu
Joshika Naidu
1,115 Points

This works! Thank you!

Urvi Sharma
Urvi Sharma
727 Points

Agree, i am not understanding this concept?

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

HIDAYATULLAH ARGHANDABI
HIDAYATULLAH ARGHANDABI
21,058 Points

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>
Mark Nemeth
Mark Nemeth
9,322 Points

<!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>

HIDAYATULLAH ARGHANDABI
HIDAYATULLAH ARGHANDABI
21,058 Points

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.

Yu-Chien Huang
PLUS
Yu-Chien Huang
Courses Plus Student 16,672 Points

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>

MK K
MK K
1,258 Points

Thank you!

The question is to replace with html character entity

Add<p> &© 2017</p>

HIDAYATULLAH ARGHANDABI
HIDAYATULLAH ARGHANDABI
21,058 Points

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>