Stuck on Cat Image

Someone help, what am i missing? I keep getting message “your image should have an src attribute that points to the kitten image”

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="https://cdn.freecodecamp.org/cirriculum/cat-photo-app/relaxing-cat.jpg"alt="A business cat wearing a necktie.">
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15

Challenge: Add Images to Your Website

Link to the challenge:

You got the spelling of curriculum wrong. Its not cirriculum. Change it and you’re good to go .

Tip:
Use the provided URL in the instructions :- https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

You wrote https://cdn.freecodecamp.org/cirriculum/cat-photo-app/relaxing-cat.jpg instead of https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

Just copy url and paste it in your code.

ok guys, thank you! Now im stuck on the “your image alt should not be empty”

CatPhotoApp

alt=“fcc relaxing cat”>

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

im stuck on alt image should not be empty

try to let a white space between <img src="https://cdn.freecodecamp.org/cirriculum/cat-photo-app/relaxing-cat.jpg" and alt="A business cat wearing a necktie.">

Got it. Thank you Stefan! :slight_smile:

Hello @mthach88,

Put white space will not fix the issue. The code is good soon as you do the update on the link you are using as told you the guys before: https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

Try to refresh your page or reset the code if it is still not working. Do only the updates they ask you which are:
1- Inside the main, insert an img element before the existing p elements.
2- Set the src attribute of the image element to: https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg
3- Don't forget to give an alt attribute (not empty) to the img element

If they are things changed in the original code, it can bring issue to realise the tests.

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