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 25,635 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>