Learn HTML by Building a Cat Photo App - Step 9

Tell us what’s happening:
Describe your issue in detail here.
can you please advise what im doing wrong

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

      <img src="A cute orange cat lying on its back.jpg" "alt= a cat">

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

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

Challenge: Learn HTML by Building a Cat Photo App - Step 9

Link to the challenge:

scr represents source of a link. you can’t remove that because that’s image, which wont be shown if you remove it!!!

taks tells your to add this text to alt A cute orange cat lying on its back

apologies im very new to this an computing in general.
How should it read?? so i know where im going wrong.
Thanks

Welcome to our community!

The ‘alt’ is the attribute here. It goes without any quotes (single or double). After the = operator you have to add a value that is the text given in the challenge: “A cute orange cat lying on its back”. The value should be wrapped in double quotes:

<img src="url" attribute="value">

This is guidance.

ok I see, thank you so much

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.