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 How to Make a Website Creating HTML Content Add Social Media Links

Social 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?

Sorry, 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">

When I write the code here it doesn't then show on the forum, how strange!

<img src"img/facebook-wrap.png" alt"Facebook Logo">
<img src"img/twitter-wrap.png" alt"Twitter Logo">

The 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">
      <img src="img/twitter-logo.png" alt="Twitter Logo">
      <img src="img/facebook-logo.png" alt="Facebook Logo">
nicholas maddren
nicholas maddren
12,793 Points

Although machines can be wrong at times it looks like you have added logo instead of wrap to your file path haha 2nd time lucky!

THANKS! I'm an idiot at times :) I think I should take a break, I've been at it for 3 hours.

nicholas maddren
nicholas maddren
12,793 Points

Two months ago I was in the same position it will click after a while!

2 Answers

nicholas maddren
nicholas maddren
12,793 Points

Okay 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
nicholas maddren
12,793 Points

You haven't supplied us with any code :( btw try copying your code refreshing your browser and try again just in case.

nicholas maddren
nicholas maddren
12,793 Points

Wrap 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...