<img src="https://bit.ly/fcc-relaxing-cat.com/cat.jpg" alt="alt=“fcc-relaxing-cat”."

I really need help on how i should make my image have an src attribute that points to the kitten image

Your code so far


<h2>CatPhotoApp</h2>
<main>
<img src="https://bit.ly/fcc-relaxing-cat.com/cat.jpg" alt="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 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0.

Challenge: Add Images to Your Website

Link to the challenge:

This last part is the problem. The alt attribute’s value should be surrounded by quotes. You have some extra curly quotes that should not be there (only straight single or double quotes are valid). Also, you have an extra alt= Lastly, don’t forgot to properly closing the self-closing img element.

Hi

i’ve done what you suggested(thanks a lot) but the highlighted section of this image seem to be the issue

I’ve got it!:relieved::relieved: Thanks for the help

Would you mind sharing? I’m getting the same error. There’s a small image icon, but the kitten image isn’t loading. This is my code:

<h2>CatPhotoApp</h2>
<main>
    <img src: "https://bit.ly/fcc-relaxing-cat.jpg" alt="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>

@abischolz Take a look at the example in the challenge again. You are using the wrong character to set the value of the src attribute.

thank you so much - i was really stuck on that one.

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.