Build a Cat Photo App - Step 9

Tell us what’s happening:

HI, im confused on where to add the alt, tried putting it in the first line and also the last line but still it is not going through. been stuck here pls HELP. when explaining please explain like you telling a 6 year old wanna understand this.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>
<!-- User Editable Region -->
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
    </main>
<!-- User Editable Region -->
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 Edg/150.0.0.0

Challenge Information:

Build a Cat Photo App - Step 9

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-cat-photo-app/5dc24165f86c76b9248c6ebc.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @thola,

Looking at the example in the instructions, please note that the alt attribute is included inside the img tag just like the src attribute.

<img src="cat.jpg" alt="A cat">

So, add your alt attribute just before the closing bracket of the img tag and use the same ="some text here" syntax you did when you added the src attribute.

Hope that helps…

Happy coding

thank you so much got it !