Getting the error that the src code is not point to the image

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img 
src="http://www.bit.ly/fcc-relaxing-cat"
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

careful, the url needs to be exactly as required:

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

What did I miss it looks the same

confront the first few characters

I have attempted to amend the code but the picture shows up as i have it however the code is still giving me the error that the SRC code isnt pointing to an image.

relaxing-cat


<h2>CatPhotoApp</h2>
<main>
<img 
src="http://www.bit.ly/fcc-relaxing-cat"
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>
  I'm using Chrome to take the course.

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hi @SUPPLY_GUY !

The reason why you have an error message is because you are missing an s in the url.

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

Also, instead of typing it out yourself, it is always best to copy and paste the url.

That way you don’t have the error of writing http when the correct answer is https.

Look very closely at the URL you are using.
You are missing an s from https

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