Coding error with <img>

We are told not to close the yet the example uses the forward-slash, but neither way works. There may be subtle spacing problem but I can’t find it. I get a persistant error telling me to point the src to the catphoto URL.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="https://www.bit.ly/fcc-relaxing-cat.jpg" alt="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 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0

Challenge: Add Images to Your Website

Link to the challenge:

maybe omit the slash in your img src closing  tag coz it should be self-enclosing hehe

Hi @hchildsjr !

You are using the wrong url here

Reread the instructions for the correct url.
Now set the src attribute so that it points to the url https://www.bit.ly/fcc-relaxing-cat

I did not see slashes being used in the examples.

Your code does not work because you have the wrong link in src.

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