How to set the alt attribute

**Please guys, I am stocked here. Is saying my alt attribute is empty, I don’t understand. Can anyone help?

  **Your code so far**

<image src="" alt=" A 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>
  **Your browser information:**

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

Challenge: Add Images to Your Website

Link to the challenge:

Hello @ekighoprogres33 !
You must write img src no image src.

I think the tag will be “img src” not “image src”. Also try not inserting a space between the opening quotation mark and the first word.
Try it like this:
<alt=“A relaxing cat”>

Here is how to post code in the forum

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor ( </> ) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

wow! thank you so so much. that was the problem, I couldn’t even figure it out.

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