Tell us what’s happening:
Describe your issue in detail here.
Your code so far
Please can someone help on this Step 9
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
<!-- User Editable Region -->
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
<alt ="A cute orange cat lying on its back">
<!-- User Editable Region -->
</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/112.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 9
Thank for your reply, I tried to put space between the <img and the alt and then alt attribute with the cat in the sentence with quotation mark. but is not working.
Your alt needs to go inside the img element, but right now you have it on the outside. You can read more about it here, and see some examples of where it needs to go
Tell us what’s happening:
Describe your issue in detail here.
Your code so far “lying on its back”>
Above is how I do it still not work, I need help please.
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more cat photos in our gallery.</p>
<!-- User Editable Region -->
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
<img alt ="A cute" alt="orange cat"> "lying on its back">
<!-- User Editable Region -->
</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/112.0.0.0 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 9
The only thing you should be doing to the img is adding the alt attribute. You should not have changed the src for the img. I recommend resetting the lesson, and the only thing you need to do is add the alt to the img