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

Cynthia Guerrero
Courses Plus Student 679 PointsChallenge 2
I'm on challenge 2 and it reads: We've placed an image named 'cupcake.jpg' in a directory named 'img'. Add the image to the body of document.
When I add the image, a red box appears that reads: "Double Check your image path"
Please help I've been stuck on this for over an hour!
12 Answers

Carlos Sura
6,680 PointsHello Cynthia Guerrero ,
It would be easier to help you if you explain what you are doing so we can tell you what is wrong in your code.
To add an image in HTML, would be: <img src="img/cupcake.jpg">
This is getting the image from the 'img' folder that you mention.
Hope this helps

Gary Mann
8,639 PointsYeah, which course is this?

Cynthia Guerrero
Courses Plus Student 679 Pointsi got it Gary, it was <img src="img/cupcake.jpg"
thanks for your quick response!

Dennis Skoko
12,860 PointsDid you add this code?
<img src="img/cupcake.jpg" alt="Cupcake">

Cynthia Guerrero
Courses Plus Student 679 Pointsno I only typed in <img src="img/cupcake.jpg"
but now i'm trying to "Add an empty unordered list below the image" and I'm typing in
</ul>
and it's not working!

Dennis Skoko
12,860 PointsCan you post your code and a link to the challenge. If you do, it would be easier to help you

Carlos Sura
6,680 PointsCynthia Guerrero please don't forget to add the code you are trying to use so we can check what is wrong .
<ul>
<li>Item</li>
<li> Item 2</li>
</ul>

Cynthia Guerrero
Courses Plus Student 679 PointsCarlos Sura here's what i'm doing, it's asking me to "add an empty unordered list below the image:
<!DOCTYPE HTML>
<html>
<head>
<title>Smells Like Bakin' Cupcake Company</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<img src= "img/cupcake.jpg" alt="cupcake"
<ul>
<li>Item</li>
<li> Item 2</li>
</ul>
</body>
</html>
(((

daniel raine
Courses Plus Student 2,215 Pointsif you delete your "item" and "item2" from your list tags it should work i think its just asking for a list tag with no content inside.
hope this helps
Trevor Lawrence
2,249 PointsIs it because you have not closed your image tag? it should look like below i think
<img src= "img/cupcake.jpg" alt="cupcake"> then the unordered list will work.

Cynthia Guerrero
Courses Plus Student 679 Pointsthank you kindly!!! i finally moved forward to the next step!!!
Trevor Lawrence
2,249 PointsAnytime.

Cynthia Guerrero
Courses Plus Student 679 PointsTrevor Lawrence okay let me try because i still can't past that step
cameryn smith
2,828 PointsHey, how did you guys paste the pic of your code in the forum question. Are you using a snipping tool?

Cynthia Guerrero
Courses Plus Student 679 Pointscameryn smith i copied and pasted it. you just have to use backtick button, i watched the "tips for asking questions" video (its on the left of my screen)and thats the first tip he gives.
Cynthia Guerrero
Courses Plus Student 679 PointsCynthia Guerrero
Courses Plus Student 679 Pointsthanks it did help!