Lesson won't let me continue


I had to make the following code:

To complete the project, add an alt attribute to all nine of your cat images to describe them. Use a value at least five characters long for each.

So I did the following:

  <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/1.jpg" alt"cutecat">
  <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/2.jpg" alt"cutecat1">
  <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/3.jpg" alt"cutecat2">
  <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/4.jpg" alt"cutecat3">
  <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/5.jpg" alt"cutecat4">
  <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/6.jpg" alt"cutecat5">
  <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/7.jpg" alt"cutecat6">
  <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/8.jpg" alt"cutecat7">
  <img src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/9.jpg" alt"cutecat8">

Then I get the following message:

All nine of your img elements should have a alt attribute with text describing each image, with each description using at least 5 letters.

I don’t see it…

Welcome :smiley:

If you try a lesson 3 times a button should appear (with a question mark on it) that can be used to create a post with your current code and a link to the step your on

you have a syntax error
Computers are very dumb.
Take a look at your alt, for the = sign

= is an assignment operator
for example:
is the same as saying
“cutecat” belongs to alt

Omg… :see_no_evil: Wel, clearly the computer isn’t as dumb as me haha. How could I have missed that! Of course, I knew that it has to be alt=“” but I just completely looked past it haha. Well, thanks for reminding me!

1 Like

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