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 trialK L
1,088 PointsInside the <body>, display the image moon.jpg located inside a folder named img. why <img src="img/moon.jpg"> not work?
Inside the <body>, display the image moon.jpg located inside a folder named img. why <img src="img/moon.jpg"> not work?
<!DOCTYPE html>
<html>
<head>
<title>The Moon</title>
</head>
<body>
<img src="img/moon.jpg">
</body>
</html>
4 Answers
Jennifer Nordell
Treehouse TeacherHi there! When I copy/paste your code into the challenge, it passes Step 1 without a problem. My best suggestion to you is to copy/paste the code you have here into the challenge after restarting it. You might even need to close down your browser and reopen it. But there is nothing wrong with the code you've posted here.
Hope this helps!
Adeeb Arangodan
4,397 PointsHi. As Jennifer Nordell said, there is no error in your code. I also tested your code and confirmed the same. Internet explorer edge browser gets disconnected in between, May be issue with teamtreehouse website or with the browser. You can try the same with chrome and pass the same.
K L
1,088 PointsThank you, it works
Ajmaine Khan
Web Development Techdegree Student 239 PointsIn between the body tags:
<img src = "img/moon.jpg">
K L
1,088 PointsK L
1,088 PointsThank you
Dillon Cook
Front End Web Development Techdegree Graduate 16,531 PointsDillon Cook
Front End Web Development Techdegree Graduate 16,531 PointsI took an unfortunate 3 week break from programming out of frustration because I couldn't pass it when I had the right answer all along. Can you guys fix this problem? It's giving me a false error and there's absolutely no way to skip past where I'm at unless it let's me pass.