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

Why am I still stuck on this????

Why am I so slow at coding?????

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>The Moon</title>
  </head>
  <body>
<img src="image-source moon.jpg alt=Provide alternate text for accessibility"/>
  </body>
</html>

3 Answers

Zengzhen Wu
Zengzhen Wu
2,651 Points

how about this? try this code and see about it. you need to do some small changes to make it work.

<!DOCTYPE html> 
<html>
  <head>
    <title>The Moon</title>
  </head>
  <body>
<img src="image-source moon.jpg" alt="Provide alternate text for accessibility">
  </body>
</html>
Rich Donnellan
MOD
Rich Donnellan
Treehouse Moderator 27,696 Points

In my answer to a previous question of yours, I wasn't providing the actual answer, but the syntax/pattern to get you started. You'll still need to read each set of instructions carefully and answer accordingly.

I suggest you rewatch the video(s) and research the MDN documentation.

<!doctype html> <html> <head> <title>The moon</title> </head> <body> <img src="img/moon.jpg"> </body>

</html>