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

Can't figure out whats wrong here - Build a Simple Website

I just started the Build a Simple Website course.

For the quiz it says: Assuming an 'img' directory with an image 'cupcake.jpg', add the image to the body of the document.

This is my code:

<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Smells Like Bakin' Cupcake Company</title>
</head>
<body>
    <img src="img/logo.gif" alt="Smells Like Bakin">
    <ul class="nav">
        <li><a href="#">About</a></li>
        <li><a href="#">Cupcakes & Prices</a></li>
        <li><a href="#">Locations</a></li>
        <li class="last"><a href="#">Contact Us</a></li>
    </ul>
  <img src="img/cupcake.jpg">
</body>
</html>

The image of the cupcake shows up, yet it still says:

Bummer! Double-check your image path.

There is no way to skip to the next exercise, despite the glitch.

7 Answers

What's your path look like for the image?

Try running the path -

<body> <img src="img/cupcake.jpg" </body> Make sure your brackets are closed.

To declare your image path begin with: src="....

Hope this jogs your memory :P

If you are still having issues, post your code here and we will try to help you.

Golly I <3 this community.

Anywhoo, @Tristan Wheeler ! If you get a chance to post a screenshot or a snippet of your answer on this post that'd be just great :)

Also, you can always reach out to us at help@teamtreehouse.com for support. If you wind up replying on the Forum could you email me a link to this post + your reply?

Thank you lots :)

I had the same problem...

I'm on the "Creating Website structure" challenge and can't figure out what's wrong!

I'm having issues with the grid challenge. I put the code in for the "container" and "clearfix" which that was fine, but when I did the 2nd task it kept saying it was wrong. I was suppose to also add the <div class="grid_5 omega"> which I did right after the "container" div and it kept saying the 1st task wasn't there and then I tried placing it somewhere els and then it said I needed to add it.

Please Help! Thanks!

@Marketra - A few things would be helpful here ...

  • Please make your own thread for your question
  • Post a link to which challenge you are stuck on
  • Post a "working" version of your code using codepen.io