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 Image Gallery Content

James Chi
James Chi
941 Points

My pic isn't showing up on the web browser

I've tried and retried to do it, but it still won't work

2 Answers

Lachlan āˆ†
Lachlan āˆ†
8,026 Points

Could you please provide me with your code and the location of the image so I can help you :)

James Chi
James Chi
941 Points

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Norah and Auggie | Designer</title> </head> <body> <header> <a href="index.html"> <h1>Norah and Auggie</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> <a href="img/numbers-01.jpg"> <img src= "img/numbers-01.jpg" alt=""> <p>Creating shapes</p> </a> </li> </ul> </section> <footer> <a href="http//"></a><img scr="img/twitter-wrap.png" alt="twitter logo"> <img scr="img/facebook-wrap.png" alt="facebook logo></a> <p>Ā© 2015 Norah and Auggie</p> </footer> <body> </html>

THIS IS MY CODE. WHAT'S WRONG WITH IT?

Lachlan āˆ†
Lachlan āˆ†
8,026 Points

You have a space in between one src and the other is misspelt.

Try this code.

  <section>
   <ul>
     <li>
      <a href="img/numbers-01.jpg">
       <img src="img/numbers-01.jpg" alt="">
        <p>Creating shapes</p>
        </a>
     </li>
   </ul>
  </section>
  <footer>
    <a href=""></a><img scr="img/twitter-wrap.png" alt="twitter logo">
    <img src="img/facebook-wrap.png" alt="facebook logo"></a>
    <p>&copy; 2015 Norah and Auggie</p>
  </footer>
 </body>
Lachlan āˆ†
Lachlan āˆ†
8,026 Points

There are more mistakes in your code. Your <body> tag isn't closed correctly like this </body> and your missing quotes in some areas.