Learn HTML by Building a Cat Photo App - Step 9

Tell us what’s happening:
Im not sure how to exactly do the alt with the im no matter where i put it or add its still saying its wrong

  **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=A cute orange cat lying on its back"> src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
  </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/105.0.0.0 Safari/537.36

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

Link to the challenge:

you almost have it correct,
just remove the > angled bracket in the middle of this line
(it should be only at the end of the element, not in the middle)

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

Its still not working what am i still doing wrong

The double quotes should be after the = and before the A

Make sure to leave a space before the attribute name “src”

yay thank you i got it

1 Like

what am i doing wrong here

<a=‘https://freecatphotoapp.com’> Click here to view more cat photos.


it say i need to add an anchor element.what am i doing wrong

Recall that an anchor element loonslike this:

<a href=“my link”>Click Me!</a>

Your code is not syntactically correct. Please review the example I gave you to go back to an older lesson and review it there.

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