Learn HTML by Building a Cat Photo App - Step 9

Tell us what’s happening:
Describe your issue in detail here.
no idea what’s wrong in the 9th line helpp
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
      <img src="A cute orange cat lying on its back.jpg alt="A
    </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/108.0.0.0 Safari/537.36

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

Link to the challenge:

According to the directions they ask you to " Inside the img element, add an alt attribute with this text:“A cute orange cat lying on its back”

It looks like you added an extra img. Do not add an extra image but add the alt attribute inside the image they give you. You do have an alt in one image but it does not have the right text

Also, your alt should not be inside the img source string. It needs to be added after then end of the second double quote

Example:

<img src="source link" alt="alt text">

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