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

Trouble getting my image to show linked to facebook and twitter url

Ok so im going through the html, css smells like bakin track. Im almost to the end and im stuck getting my Fb and Twitter images to show on the site. Im using sublime text editor 2. All the rest of the coding before has been fine and all my images show great. I didn,t do anything different. My FB and twitter images are in my image folder and i made sure i named them correctly. Here's my code

<a href="http://www.facebook.com/SmellsLikeBakin"><img scr="img/facebook.gif" alt="Facebook"></a>

<a href="http://www.twitter.com/#!/smellslikebakin"><img scr="img/twitter.gif" alt="Twitter"></a>

Its just like the teacher has it on his screen. But my mages dont show, only the text links shows.

Any help would be greatly appreciated.

7 Answers

Hi Dave,

No code.

yeah it took it out for some reason!!???? Try agin below

<a href="http://www.facebook.com/SmellsLikeBakin"><img scr="img/facebook.gif" alt="Facebook"></a> <a href="http://www.twitter.com/#!/smellslikebakin"><img scr="img/twitter.gif" alt="Twitter"></a>

ok looks like it wont keep the html code in the box after i post the answer. Its gone

i put the code in and when i post it disappears!

<a href="http://www.facebook.com/SmellsLikeBakin"><img scr="img/facebook.gif" alt="Facebook"></a>

<a href="http://www.twitter.com/#!/smellslikebakin"><img scr="img/twitter.gif" alt="Twitter"></a>

Dave, maybe this will help: Post Code Markdown

thanks Jeff,

I figured it out. I just retyped the code again and it worked. The same exact code too. Very weird!