Adding image problem

I can’t get past the src line of code saying it is not pointing to the kitten even though i can view it on my browser using .html:
.

  **<h2>CatPhotoApp</h2>

A fun cat

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

**

<h2>CatPhotoApp</h2>
<main>

<img src="https://www.bit.ly/fcc-relaxing-cat.jpg" alt="A business cat having fun"

<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; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hello There!
From the html you posted, I can see that there is no closing character (>) in the img HTML element:

<img src="https://www.bit.ly/fcc-relaxing-cat.jpg" alt="A business cat having fun"

Maybe that’s the problem?

At all, img elements are self closing so that is actually not the problem and the result says so…

It is saying the src is not pointing to the kitten but i have tried opening it on my browser and it opened

You just need to remove the file extension (.jpg) from the URL. The link is not actually to a file it just redirects to the file.

1 Like

hey thanks Las… it actually worked, lol

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