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 trialflorent thomas
832 PointsI am stuck I cannot drag the pictures's folder to the treehouse workspace as shown in the video.
I keep making mistake when they ask me to include images to my list of items
here my codes : <ul> <li><img src="Bureau/how/img/numbers-01.jpg" alt=""></li> <li><img src="Bureau/how/img/numbers-02.jpg" alt=""></li> <li><img src="Bureau/how/img/numbers-06.jpg" alt=""></li> </ul>
anyone could help me ?
thanks
10 Answers
Julian Aramburu
11,368 PointsHi Florent! I don't understand what your problem is... because at first I thought that the problem was that you were unable to upload the images to the workspace ,but then I saw you pasted your code, and that the src of the images target images inside bureau/how/img/ folders ... so if that's the case, you need to nest your images inside all those folders in order for your code to work.
Can you use the snapshot feature in the workspace (it's next to the preview and fork buttons in the top right corner) to paste the workspace here for us to check?
florent thomas
832 Pointswell I am actually kind of lost. What's very confusing to me is that I am not working on a workspace that I created but on the workspace that is made to answer the little questions and exercices. I cannot drag any files on there. what should I do?
Julian Aramburu
11,368 PointsBut there you only need to provide the code in order to pass the question... you cant upload images or uses external files...
florent thomas
832 Pointsyes, but when i do provide the code, I am wrong I have tested multiple answers
Julian Aramburu
11,368 PointsI don't know the exercise you are having problems with (because your reference in your question is a video not a challenge)... but in the code you provided you are targeting external files...which doesnt seem right.
florent thomas
832 PointsIt just worked, I guess I had to create a workspace and create a new file "index.html" in order to make it work
florent thomas
832 PointsYou right I think I just was confused with the files that I was targeting. Thank you for your help. The question part was easy but I got confused with the location of the files Thanks again for all your time and your help :)
Jason Anders
Treehouse Moderator 145,860 PointsHi Florent and Welcome to Treehouse,
If you are talking about the challenge, you do not need to drag anything anywhere. The challenges just want you to enter the code that satisfy the questions. You will often be referring to elements, variables, images, files, links, etc that don't really exist anywhere. The challenges and questions want to see if you know how to code that particular task.
The first question of this challenge wants you to add an unordered list with 3 empty list items... all inside the section tags.
<section>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</section>
The second part wants you to add the 3 images from "inside the img folder" (remember there is NO actual img folder), you are just to code the image paths into each list element. I'm not sure where the paths you are using have come from, but the path for these images would be "img/number-01.jpg" ... that's it.
<section>
<ul>
<li><img src="img/numbers-01.jpg" alt=""></li>
<li><img src="img/numbers-02.jpg" alt=""></li>
<li><img src="img/numbers-06.jpg" alt=""></li>
</ul>
</section>
I hope that clears it up some for you. Keep Coding! :)
florent thomas
832 PointsThank you for your help Jason.
Yvette Williams
Courses Plus Student 190 PointsThank you for the explanation Jason. I was stuck on the second challenge.