For HTML, "Add Images to your website" tutorial

Even after writing the correct code, the test doesn’t pass for the code. This can get confusing for the beginners because if the test doesn’t pass, it won’t allow us to move to the next window or page.

Here is the screenshot:]

Please fix this.


<h2>CatPhotoApp</h2>
<main>

<img src="https://www.freecatphotoapp.com/your-image.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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Your image src url is incorrect.

It seems to be correct to me, when I pasted it in the browser, it works as expected. Could you please pinpoint what is incorrect in the src URL? That would help me to understand better

Hi @Anika211-R !

Welcome to the forum!

You are supposed to use the image from the instructions.

You are using the image from the example.

This is the example, which is why you see it working in the browser

<img src="https://www.freecatphotoapp.com/your-image.jpg">

However, the instructions say this
Now set the src attribute so that it points to the url https://www.bit.ly/fcc-relaxing-cat

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