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
Patrick Oliver
413 Pointscode challenge
I seem to be unable to pass this code challenge. In stage 2 with text editors and html on build your own website.
image sourcing seems to be a problem of mine.
can someone please enter the correct code so I can move forward with this lesson.
here is the code for the img that I am trying to enter:
<img src="cupcake.jpg">
thanks
9 Answers
Christian Parker
4,222 Points"img/cupcake.jpg"
Melissa Castle
15,560 PointsHave you tried <img src="img/cupcake.jpg">
Melissa Castle
15,560 Pointsthanks Christian.
James Barnett
39,199 Points> can someone please enter the correct code so I can move forward with this lesson.
Here on Treehouse we value the Learning process - not the Give you an answer process. We can certainly help you with your code challenge questions - as long as you are looking to learn how to get your solution (and not just the answer).
Check this out for more perspective on this way of asking/answering questions on the forum.
Melissa Castle
15,560 PointsI think you're missing the folder in front of the image file name.
Patrick Oliver
413 Pointsok thanks Melissa can you please post the correct code here?
Patrick Oliver
413 Pointsthanks Melissa and Christian for your help
Patrick Oliver
413 Points@James yes I knew I would catch a lot of heat by asking that question for someone to post the answer but I had been trying for a long time on my own and not finding a solution . And I was quite frustrated and wanted to move on to the next phase.
James Barnett
39,199 Points> And I was quite frustrated and wanted to move on to the next phase.
Treehouse is kinda like a book with videos instead of text and code challenges instead of exercises. So you can skip around just like you do in a book.
However, learning to program is kinda like learning algebra, each piece builds on the last one. If you move on without fully understanding it, it might come back to bite you. YMMV.
Patrick Oliver
413 Pointsyes totally agree with you James. I hope to build a strong foundation with this.