Bug on this page that won't let me progress

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

I have run this code a number of times and it’s blocking me with “Your image should have a src attribute that points to the kitten image.”
The image has the src code, I actually copied it directly from the window this lesson told me to. I also see the images loading perfectly. So this is a bug and it’s not allowed me to progress further. I actually tried other lessons on other sites that didn’t give me this issue because of this. I came back to it thinking I’d give another try and this keeps happening. I have reset, I have tried a number of ways of inputing the code, even taking out spaces or adding them. Nothing works. Please advise.

  **Your code so far**

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

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A kitty relaxing">
<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/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

the test checking if the first child after main is img with src=“https://www.freecatphotoapp.com/your-image.jpg” so you adding another img with different source falling you.

this shouldn’t count as a bug, because the test didn’t ask for multiple img tags. swapping the img positioning or comment the first one will make you pass the test.

This issue here is that the tutorial asking you to create a single Image tag with the address :

https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

Your edit is providing two:

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

<img src="https://cdn.freecodecap.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A kitty relaxing">
1 Like

Thank you! That worked

1 Like

Yep, it didn’t say to erase the first one. But you are correct, someone else let me know a few hours ago and it works! Thanks anyways

Hey jaime.
On the initial code, before you started editing it, when you open the page, did it have the other image link already embedded …?

LIKE THIS:

CatPhotoApp

A business cat wearing a necktie

My tutorial doesn’t have an Img when it is opened.

Hi Alessandra,
No. I remember it didn’t. I had to put both images in. I can go back and reset it and email you the initial set up if you want to check it out. Thanks again,
Jaime

1 Like

This was the code before editing

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