It says Your image should have a src attribute that points to the kitten image. but from what I can see I did give the source to the jpeg img

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<h2>CatPhotoApp</h2>

<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">


<main>
<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


the lesson tells you what the src attribute should be set to.

Also, though it will not cause the test to fail you were tasked with adding the image in the existing main element, not outside it

Yes thank you very much for replying. I actually changed the main element to have it outside because I was trying so many different things and nothing was allowing me to proceed on the test. I have since changed it back to what the test originally asks for in having it inside the main tags.
Well the problem i am having here is this;
The test asks me to make an img attribute that points to the kitten image. and I have done this. But when I run test. It gives me a fail sign and the fail sign reads, " Your image should have a src attribute that points to the kitten image." and it is for this reason that I cannot proceed in the lessons.
Is it because I am using the img that was provided for me? am i supposed to call an image from somewhere else perhaps?>

We need to see your updated code but the lesson says

Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

and in the code you previously provide you have
https://www.freecatphotoapp.com/your-image.jpg

Read the instructions thoroughly and carefully.

THANK YOU VERY MUCH! :slight_smile:

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