Basic HTML and HTML5: Add Images to Your Website Problem

I am very confused with this problem - <img src=https://bit.ly/fcc-relaxing-cat alt=’‘Relaxing cat.’’>
If I do it like it is supposed to, it says it’s wrong. Like this, it says that everything is right but not the alt. Can you help, please? Thankyou!

1 Like

You did it right, I think you just forgot to add the double quotes for the src?

<img src=“https://bit.ly/fcc-relaxing-cat” alt=’‘Relaxing cat.’’>

That does work for me like that

I just checked that part of the lesson and wrote this:

<h2>CatPhotoApp</h2>
<main>

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

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

Thank you for understanding.