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 How to Make a Website Creating HTML Content Structure the Image Gallery

Walter Cortez
Walter Cortez
4,071 Points

I can't get my image to upload?, my code is.. <ul> <li> <img src="img/Music.jpg" alt=""> </li> </lu>

I've used my own file under "Music.jpg" also used a relative path.

Walter Cortez
Walter Cortez
4,071 Points

correction at the end is... </ul> But still can't get image to upload?

5 Answers

Looks like the final lu should be ul:

<ul> <li> <img src="img/Music.jpg" alt=""> </li> </lu>

But usually browsers aren't picky about closing tags, so maybe it's because the image isn't in your img folder. Also, some browsers aren't case sensitive. But if it's real name is music.jpg you might try that instead.

Good luck

Walter Cortez
Walter Cortez
4,071 Points

Hi.

Yes, I've change my final tag to </ul> and I checked my case-sensitive keys...but still not working. I'm at a loss??? ...

Thank you anyways.

Can you post the page?

The instructions are in the Markdown Cheatsheet (link below). But basically you copy the relevant parts of the code, and paste it into an answer here. Be sure to leave blank lines before and after. And on lines just before and after the code (and after and before the blank lines) enter three accent marks (use the tilde key).

Walter Cortez
Walter Cortez
4,071 Points
<img src="img/Music.jpg" alt="">

Nothing's there. You used single apostrophes rather than accents. The accent is on the ~ key, which on a Mac keyboard is just above the ctrl key.

Walter Cortez
Walter Cortez
4,071 Points
<img src="img/Music.jpg" alt="">

Did you preview? There's still nothing. There has to be 3 accent marks, not tildes. Don't use shift. I just mentioned the ~ key because more folk know where it is than saying accent.