What's wrong with that code?

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">
<src="https://www.bit.ly/fcc-relaxing-cat">
<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 (Linux; Android 11; SM-A705FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

You are not using the correct URL for the image. This is the URL https://www.bit.ly/fcc-relaxing-cat.

You have also added an incomplete element <src="https://www.bit.ly/fcc-relaxing-cat"> it won’t make the test fail, but it isn’t correct syntax and should be removed.

First, You should delete this line of code:

In the img tag you should replace the existing url to this one as the intruction says :point_down::
https://www.bit.ly/fcc-relaxing-cat

Do what I told you. If you still get stuck, watch a video so it can help you.
Press on Get Help button the click on Watch a Video.
image

Hope this helps you :grinning:

1 Like

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