What does it mean when your alt attribute is empty

Tell us what’s happening:

What do I do when It keeps telling me that the alt is empty.Someone please help me out

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src=https://bit.ly/fcc-relaxing-cat alt=¨Cat laying upside down.¨>

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

Challenge: Add Images to Your Website

Link to the challenge:

1 Like

Hi @blakeblake38!

Welcome to the forum!

You are missing quotes for the src attribute and alt attribute.

src=""
alt=""
2 Likes

Its still not working its still saying the same thing .

What is your updated code?

Hey there @blakeblake38!

Your code is correct, but you made an error by using backticks instead of quotes, HTML is specific and unlike JavaScript will only take " quotes. Also make sure you cover the image link with quotes as well.

<img src= "https://bit.ly/fcc-relaxing-cat" alt="Cat laying upside down.">

By replacing the ticks with quotes, you complete the challenge.

Hope this helped!
Best,
Cy499_Studios

Do you recommend any other apps that can help you become a web developer?

There are a few threads on the forum about various websites to learn programming: Useful websites to learn programming

Though, alternate websites won’t change the fact that syntax must be exact in programming.

2 Likes

@blakeblake38,

I recommend finding a resource and sticking with it, in this I suggest using FCC and some other resources such as W3 and Mozilla documentation to help you along the way,

Remember, tutorials are one thing but building things from scratch are what make you a web developer, FCC gives you those projects. In all cases make sure you apply your knowledge wherever you decide to learn.

Best,
Cy499_Studios

Thank you,Do you have an email so I can contact you because I have a lot of questions.

1 Like

We recommend that users communicate via forum posts, forum direct messages, or on our chat server.

1 Like

@blakeblake38

Whenever you have a problem feel free to make a new post on the forum!

This allows for advice from tons of developers who bring new perspectives and knowledge!

It’ll allow you to benefit more than just a DM with one developer.

Hope this helped!
Best,
Cy499_Studios

1 Like