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

Chandler Tate
Chandler Tate
907 Points

Code challenge bug?

The question asks me to insert the images for the Facebook and Twitter logos in the footer section (this is for the how to make a website course in the front end web development track). I think I've added them in correctly, haven't changed anything to the code. Every time however I get an error message asking me to insert the alt text for the Twitter logo picture. Am I doing this wrong? Thanks for your help everyone! :)

<footer> <img src="img/facebook-wrap.png" alt"Facebook Logo"> <img src="img/twitter-wrap.png" alt"Twitter Logo"> <p>Ā© 2013 Nick Pettit.</p> </footer>

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Nick Pettit</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
      <nav>
        <ul>
          <li><a href="index.html">Portfolio</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
    <section>
      <ul>
        <li>
          <img src="img/numbers-01.jpg" alt="">
        </li>
        <li>
          <img src="img/numbers-02.jpg" alt="">
        </li>
        <li>
          <img src="img/numbers-06.jpg" alt="">
        </li>
      </ul>
    </section>
    <footer>
      <img src="img/facebook-wrap.png" alt"Facebook Logo">
      <img src="img/twitter-wrap.png" alt"Twitter Logo">
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>

2 Answers

Hi Chandler,

You forgot the =.

Like this:

<footer>
      <img src="img/facebook-wrap.png" alt="Facebook Logo">
      <img src="img/twitter-wrap.png" alt="Twitter Logo">
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
Chandler Tate
Chandler Tate
907 Points

Ahhhh!! Thank you so much Elian! I've been staring at the code for 20 minutes and somehow didn't catch that... Stupid error on my end. You're a lifesaver!

No problemo! Hate it when that happens. :P And a lot of times, something small as that is what's wrong.

Good luck with the rest of the course!