Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Creating HTML Content Build the Footer

Wendy Anderson
Wendy Anderson
1,207 Points

Code highlighted Red in my workspace, I cannot work out what I did wrong.

I cannot work out why my code is highlighted Red, not too sure what I am missing, I also do not see the Facebook or Twitter links when I refresh my page. <a href="http://facebook.com/sproutability><img src="img/facebook-wrap.png" alt="Facebook Logo"></a> <a href="http://twitter.com/sproutability><img src="img/twitter-wrap.png" alt="Twitter Logo"></a>

2 Answers

-- --
-- --
12,382 Points

Hi Wendy,

You forgot to add quotes after the URLs to the social media pages. That's why your code doesn't work.

This should work:

<a href="http://facebook.com/sproutability">
<img src="img/facebook-wrap.png" alt="Facebook Logo">
</a> 

<a href="http://twitter.com/sproutability">
<img src="img/twitter-wrap.png" alt="Twitter Logo">
</a>

Happy coding! :)

Wendy Anderson
Wendy Anderson
1,207 Points

Thanks Mace, it was driving me crazy, and I just could not see what I was missing.

-- --
-- --
12,382 Points

No problem, glad I could help. :)

Fuad B
Fuad B
458 Points

Nice catch Mace, yeah a very small character breaks the entire code, just read your code carefully after writing it, as a quick pre-check might help you catch mistakes if any. keep it up!