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 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/103.0.0.0 Safari/537.36
Challenge: Step 9
Link to the challenge:
HI @smritipyakurel7 !
Welcome to the forum!
What do you need help with?
It doesn’t look like you have started the lesson yet
i am stuck in step 9 i am confused where to put an “alt” attribute
Take a close look at the example they gave
<img src="cat.jpg" alt="A cat">
This part is the alt attribute
alt="A cat"
In the lesson, they want you to add the alt attribute inside the img element here
Instead of using the text "A cat"
you need to use the text from the directions here:
Inside the img
element, add an alt
attribute with this text:
A cute orange cat lying on its back
Hope that helps!
system
Closed
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.