Help with what to put in the alt

Tell us what’s happening:
I dont know what to put in the alt

Your code so far
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website


<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 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:

Has your current alt text been rejected?
What I see you are actually missing are quotation marks for your source attribute.

Also, you want quotes " rather than ¨.

when i do that the image goes away

Post your updated code

1 Like

That is the link to the challenge. We cannot see what code you have typed and instead need you to copy-paste your code into a forum post.


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 (’).

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