Trying to figure this out

Tell us what’s happening: I can’t figure this out
Describe your issue in detail here.

  **Your code so far**

<img src ="https://www.bit.ly/fcc-relaxing cat" alt= relaxing cat"/>

<h2>CatPhotoApp,h2>
<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; rv:89.0) Gecko/20100101 Firefox/89.0

Challenge: Add Images to Your Website

Link to the challenge:

1 Like

Can you give us more details about what you’re having trouble with?

Just glancing at your code, I can see typos in you img element and your h2 element.

1 Like

Look carefully the endings of the img and H2 tag you made. Look at the difference of your tags and the example ones.

Look more closely at your code you made two typos and a code error.

<img src ="https://www.bit.ly/fcc-relaxing cat" alt= relaxing cat"/>

<h2>CatPhotoApp,h2>

relaxing cat

what i mean is , you should have .jpg/gif something like that at the end of the link if it’s a downloaded image

Actually no, the correct URL is https://www.bit.ly/fcc-relaxing-cat (using a URL shortener).

Yeah , saw that link in coding free class

So, if you didn’t notice, you are missing a double apostrophe for the alt of the image and you shouldn’t have space between the src and the = sign.
And the closing tag of the h2 is wrong as well.

Hope that helps.

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