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 trialIan Hart
Full Stack JavaScript Techdegree Graduate 40,962 Pointscan't figure out the ampersan
It says to make sure I'm adding the amperstan, but i thought I added it.
<!DOCTYPE html>
<html>
<head>
<title>My Page</title>
</head>
<body>
<h3>Design & Development</h3>
<p>Contact me at <a href="mailto:ianhart@gmail.com">this email</a>.</p>
<p> © 2017</p>
</body>
</html>
3 Answers
jomclaughlin
8,720 PointsBecause the &
symbol is used at start to signal a character... like <
converts to <
and >
converts to >
, you have to write &
to get the output to be the actual ampersand... hope that helps.
Michael Hulet
47,913 PointsIn this case, it wants you to also add the ampersand as an HTML entity. The HTML entity keyword for the ampersand is amp
, or you can use its entity number (#38
)
Valerie Way
8,544 PointsTry using
[Moderator redacted]
Michael Hulet
47,913 PointsHey Valerie! I just wanted to let you know that it's frowned upon here to post a copy/paste solution to a challenge with no explanation whatsoever. If you'd like, feel free to add it back, but with a bit of explanation of why that's the answer. Thanks for helping out around the Community!
Michael Hulet
47,913 PointsMichael Hulet
47,913 PointsHey! It's great to see you're trying out Markdown and using it on the forums, but I think you're looking for the backtick character (`) instead of the apostrophe (
'
). The backtick looks really similar, but it's a different character. On the US keyboard, it's under the tilde (~
), right next to the1
. You can hit the "Edit" button on your answer to see what it looks like in practice