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 trialKyle Biancardi
1,674 PointsThe image is broken and when view in preview
I get a small box with an image logo. here is my code: <img src="img/numbers-01.jpg" alt"">
please help!!
Thank you in advance kyle
9 Answers
Tomas Pavlik
26,726 PointsHi Kyle, your code is not visible, paste in inside these signs (put three at the beginning and three at the end of your code):
` - upper left key
Kyle Biancardi
1,674 Pointssorry to keep bugging you but i am just getting the hang of the forum and commenting!
here is my code can you please tell me what is wrong with it?
<img src="img/numbers-01.jpg" alt"">
Kyle Biancardi
1,674 Points(((<img src="img/numbers-01.jpg" alt"">))) im not sure if that worked'
Kyle Biancardi
1,674 Pointsok i figured it out i still cant get the image to show up but here is my code. Thanks again for the help i really appreciate it!
<img src="img/numbers-01.jpg" alt"">
Tomas Pavlik
26,726 PointsHi kyle, it would be better to see al the code. Isn't there a link element around the img - the mistake might be there, not in the img tag..
Kyle Biancardi
1,674 Pointsis there a way to include my entire code and make it look like it does in workspaces? i saw you someone just put up what looked like a screen shot of their code. is there a way i can do that do it will be easier for you to read?
Tomas Pavlik
26,726 PointsHi kyle, write 3 signs (usually next to number 1 on keyboard), paste your code and after your code, write another 3
signs.
Tomas Pavlik
26,726 PointsOr just click dow above the post answer button - and read the Markdown Cheatsheet for more info about how to paste the code..
Kyle Biancardi
1,674 Pointswell i tried doing that and it was just a massive block of code with no structure
Kyle Biancardi
1,674 Pointswell i don't know what i did but i accidentally deleted my index.html file so ill repost once i get back to the same spot. thanks for all your help
Kyle Biancardi
1,674 Pointswell i don't know what i did but i accidentally deleted my index.html file so ill repost once i get back to the same spot. thanks for all your help
Sam Chaudry
25,519 PointsSam Chaudry
25,519 PointsChances are your image pathway is broken or you have missed spelt the file name. Should be something like:
<img src = "desktop/yourImage.png" alt ="image"></img>