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 trialDarren Johnston
289 PointsSocial media links
Hi, I'm completing a code challenge on adding social media links in the <footer> element. I'm being asked to add the facebook and twitter images from the img file but to not link them to my profiles just yet. I think I'm addin g the images correctly yet it says I'm not. Here's what I've typed so far: <img src"img/facebook-wrap.png" alt"Facebook Logo"> <img src"img/twitter-wrap.png" altTwitter Logo"> Any ideas where I'm going wrong?
Darren Johnston
289 PointsWhen I write the code here it doesn't then show on the forum, how strange!
Darren Johnston
289 Points<img src"img/facebook-wrap.png" alt"Facebook Logo">
<img src"img/twitter-wrap.png" alt"Twitter Logo">
Darren Johnston
289 PointsThe coding I've been writing in the code challenge seems to be correct, I typed it incorrectly in the previous comment. Here's the code copied and pasted from the code challenge:
<img src="img/twitter-logo.png" alt="Twitter Logo">
<img src="img/facebook-logo.png" alt="Facebook Logo">
Darren Johnston
289 Points <img src="img/twitter-logo.png" alt="Twitter Logo">
<img src="img/facebook-logo.png" alt="Facebook Logo">
nicholas maddren
12,793 PointsAlthough machines can be wrong at times it looks like you have added logo instead of wrap to your file path haha 2nd time lucky!
Darren Johnston
289 PointsTHANKS! I'm an idiot at times :) I think I should take a break, I've been at it for 3 hours.
nicholas maddren
12,793 PointsTwo months ago I was in the same position it will click after a while!
2 Answers
nicholas maddren
12,793 PointsOkay have you noticed anything about your HTML that might be missing? So you have typed out src"img/twitter-wrap.png". Don't forget the =!
nicholas maddren
12,793 PointsYou haven't supplied us with any code :( btw try copying your code refreshing your browser and try again just in case.
nicholas maddren
12,793 PointsWrap your code with 3 backticks (```) on the line before and after. If you specify the language after the first set of backticks, that'll help us with syntax highlighting.
```html
<p>This is code!</p>
```
It should then display...
Darren Johnston
289 PointsDarren Johnston
289 PointsSorry, I did originally write the code in yet it didn't appear in the forum! Here it is <img src"img/twitter-wrap.png" alt"Twitter Logo"> <img src"img/facebook-wrap.png" alt"Facebook Logo">