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

HTML

Henry Gines
Henry Gines
1,375 Points

How to upload image tag in Creating HTML content

Challenge task 1 of 2 of Creating HTML Content stated that I have to enter an image tag but after following previous examples of tutorials but still no success. Any tip is appreciative. Thank you in advance.

3 Answers

I would closely look to make sure you don't have anything slightly off. For instance, for the image source, check to make sure it's not 'scr' instead of 'src'. Also, did you add an 'alt' property to the image? Another common mistake is not have the path correct inside the source attribute. For instance, the path to our images is 'img/numbers-01.jpg'. If you leave off the 'img/' part at the beginning, you will not have correctly selected the image. Lastly, double check to make sure you're placing the tag itself in the correct location. The challenge I think you're referring to wants it inside a list item '< li>'. Here is part of the answer to that challenge:

< li>< img src="img/numbers-01.jpg" alt="">< /li>

I added some spacing to the tags in my response because this forum won't display my code correctly

Henry Gines
Henry Gines
1,375 Points

Hey Mark, Your an Angel!. Thanks a lot for your prompt reply even though it's Sunday and I appreciate for answering my question. I was trying to solve this for almost 4 hours.

No problem! Did you get it to work?

Great! I'm glad I could help. Would you mind clicking best answer for me? Thanks!