Alt issue error

Tell us what’s happening:
i have try follow the in alt form but it appear to say ‘‘your image element’s alt atrribute should not be empty.’’ can someone help with this issue?

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src=https://bit.ly/fcc-relaxing-cat alt=fcc-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 (X11; CrOS x86_64 13099.85.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.110 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Good evening!

Put the text between quotes as follows:
alt="fcc-relaxing-cat"

Sup :wave:,
The trick here is when ever you add an equal sign = this sign" always follows .

Hey there,

nice to meet you!

It is also good advice to add "" around your src value like this: src="...", not only the alt.

1 Like

the error message still appear. this what i put alt=’‘fcc-relaxing-cat’’

when i put ‘’ ‘’ around src the cat picture disappear??? am i doing something wrong?
<img src=’‘https://bit.ly/fcc-relaxing-cat’’ alt=’‘fcc-relaxing-cat’’

Hi!
Your instruction:

<img src=’‘https://bit.ly/fcc-relaxing-cat’’ alt=’‘fcc-relaxing-cat’’
As you can see

> is missing at the end!

1 Like

i done it but it still say the error message? <img src=’‘http://bit.ly/fcc-relaxing-cat’’ alt=’‘fcc-relaxing-cat’’>

Hi;

You have a typo!

https != http

You have to put single or double quotes for the src attribute as well as alt attribute inside the img tag.

<h2>CatPhotoApp</h2>
<main>

<img src="https://bit.ly/fcc-relaxing-cat" alt="Author standing on a beach with two thumbs up." >

  <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>
1 Like

You are right! He uses Double ’ instead of "! It ist not easy to see if you do not copy and paste in an editor!