Step 9 help Im confused on the placement of the alt

Tell us what’s happening:
Describe your issue in detail here.
Im confused on where I should put the alt= at ? is it replacing the link or does it need its own line before or after the link ?

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <img src=""> 
  **Your browser information:**

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

Challenge: Step 9

Link to the challenge:

HI @Rico444 !

The alt attribute goes inside the img element next to the src.
Here are the MDN docs, so you can see how the alt attribute is properly used

Or you can look at the sample they gave you

For example, <img src="cat.jpg" alt="A cat"> has an alt attribute with the text A cat

You see how the alt attribute is right next to the src attribute?
That is what you have to do in your challenge.

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