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 trialcallie cassan
Front End Web Development Techdegree Student 562 PointsI'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"
<!DOCTYPE html>
<html>
<head>
<title>The Moon</title>
</head>
<body>
<img srs="img/moon.jpg"
</body>
</html>
1 Answer
jb30
44,807 PointsThe error message is actually Make sure you include the correct 'src' value.
with a c
in 'src'
. Try changing srs
to src
callie cassan
Front End Web Development Techdegree Student 562 Pointscallie cassan
Front End Web Development Techdegree Student 562 Pointsalso 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!