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 HTML Basics Images, Text and Links Images and File Paths Challenge

I'm not sure what im doing wrong, put an image called moon.jpg in a folder called img.

Ive attatched my code below, and it keeps giving the error of "make sure the srs value is correct"

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>The Moon</title>
  </head>
  <body>
<img srs="img/moon.jpg"
  </body>
</html>

also I'm not sure why the ss doesn't show the closing >, In my code I have it listed as

<img srs="img/moon.jpg">

thanks in advance!

1 Answer

The error message is actually Make sure you include the correct 'src' value. with a c in 'src'. Try changing srs to src