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 trialWendy Anderson
1,207 PointsCode 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 PointsHi 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! :)
Fuad B
458 PointsNice 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!
Wendy Anderson
1,207 PointsWendy Anderson
1,207 PointsThanks Mace, it was driving me crazy, and I just could not see what I was missing.
-- --
12,382 Points-- --
12,382 PointsNo problem, glad I could help. :)