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

img src problems

I am having trouble with the Images section on the HTML Deep Dive section. I can't seem to get the picture I have to display on the website. This is the code I used on sublime text editor:

<!DOCTYPE HTML> 
<html lang="en">
<head>
<meta charset="utf-8"
<title>My Page</title>
</head>
<body> 

<img src="Penguins.JPEG">

</body>
</html>

The picture is just a sample picture that came with Windows.

4 Answers

hm i don't know your file source but as a lucky guess, check the case of your file name in the windows explorer - if it is penguins.jpeg or Penguins.JPEG or what other variant might be used. best regards Ralf

Okay. Thank you Ralf. I found that the problem is that the JPEG has be written as .jpg I found that by doing like you said looking properties of the actual picture. :)

Peter G. -

It should be noted that in the closing tag of the meta element is missing from the code your posted.

Good eye James. I saw that as a few seconds after the post. It was the .jpg that I was having trouble with. Thank you though James. I appreciate it. :)