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 trialMichael Crane
Courses Plus Student 1,250 PointsWhy are the images not showing up in the preview of the challenge editor but they do in the preview of the workspace?
The only difference that I could think of that would explain this is that the code challenge editor does not provide the left toolbar where the images can be uploaded
3 Answers
Rosa McGee
1,019 PointsHave you figured this out yet? I am stuck there as well
Michael Crane
Courses Plus Student 1,250 PointsYes, I actually just did!
You'll notice that in the video, the image file is inside the img folder but in the code challenge it doesn't reference any sort of folder. There isn't even a left side bar to drag any uploaded images to. I finally realized that the image tag that it is looking for is <img src="numbers-01.jpg" alt=""> and not <img src="img/numbers-01.jpg" alt="">. You'll notice that the former does not contain the img/ within the quotes. Just do this same thing for the other 2 and it should work.
Hope this helps
Michael Crane
Courses Plus Student 1,250 PointsSorry, the code example I included did not show up.. Basically, just do exactly what the video says except don't use img/ before the numbers-01.jpg inside the quotes.