What am i doing wrong i did what it asked

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <img alt src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"> <img alt= "A cute orange cat lying on its back"  
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0

Challenge: Step 9

Link to the challenge:

hi @AlexNapier7

Inside the img element, add an alt attribute with this text:

A cute orange cat lying on its back

Inside the img element that already exists they want you to add an alt attribute the alt attribute you add needs to be set to A cute orange cat lying on its back

 <img alt src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"> <img alt= "A cute orange cat lying on its back"  

you have put an alt attribute inside the existing img element but not set it to anything

then you have created a new img element and set the new img element’s alt attibute to the correct info

How do you reply to where it shows code? I’d like to help people but I’m unaware how.

Hi @Tsmithcode
are you talking about where i clipped his existing code?

there are 2 ways you can select it like you are going to copy/cut then click the little quote that pops up and it will start a comment with whatever you selected within the comment
or
you can copy the code then when making your comment click the

</>

button at the top of the comment box and paste in between the backticks that show up

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