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

Chris Mitchell
Chris Mitchell
3,011 Points

What am i doing wrong with the h3 line ?

how can i fix it ?

<!DOCTYPE html> 
    <title>My Page</title>
    <h3>Design & Development</h3>
    <p>Contact me at <a href="">this email</a>.</p>
    <p>Ā© 2017</p>

1 Answer

Hi there,

The ampersand (&) is a special character in html. To have an ampersand in your text, just replace it with


You can find some similar examples here

Hope this helps!

Chris Mitchell
Chris Mitchell
3,011 Points

thanks i did replace it but it still did not work

My apologies if I misunderstood what you were asking - your question asks what is wrong with the h3 line, so I figured you were curious about why the challenge editor puts a red line under it. Fixing that won't pass the first step of the challenge, though. In your code here, the first step is not completed - that step requires you to place a mailto link in the "contact me" line. That looks like this (though I believe you can use any email address you want - challenge doesn't specify):

<p>Contact me at <a href="mailto:email@example.com">this email</a>.</p>

In the case that you've done that already, the next step of the challenge is asking that you replace the ampersand and the copyright symbol, so the issue is more than just the h3 line. In the html, we can see that there is a copyright symbol in the last paragraph - I gave the code for an ampersand in the previous answer, but the code for copyright is


Replace both and it should pass.

In case you're curious, you can find a list of html entities and the code for them here.