SRC attribute error for Cat image

SRC attribute error for Cat image
0

#1

Tell us what’s happening:
After I run test I get error message of “src attribute fail”

Your code in question

Relaxingcat.

src is stated right there in code. What am I not seeing? Is it a style attribute? Don’t think so.
Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5.

Link to the challenge:


#2

Ironically the darn cat loaded in forum but not on my quiz.!
here is the code


#3

Hi mzbweb,

I can’t see the code, but so long as you have your img tag set with a the attribute tags requested, you should be fine:

<img src="url" alt="description">

If you have any typos, or missing/extra spaces, then that could be why.

Can you paste in your image tag from your code?

Thanks,
Jimmy


#4

You provided the wrong URL for the SRC

The challenge asks you to use https://bit.ly/fcc-relaxing-cat

Once you fix that you should be all set.

This is one of the nice things about FCC, they force you to read the full requirements, and any assumptions or shortcuts taken are no bueno :slight_smile:


#5
<img src ="https://s3.amazonaws.com/freecodecamp/relaxing-cat.jpg" alt = "Arelaxingcat. ">

this is the link that the test tells me to go to.


#6

but there is no .jpg for the link so it will not load image.


#7

IT works! Thank yuo!


#8

It works! Thank you!


#9

Alright! Good working it out.