Hello coders! I need your help
I wrote an HTML and CSS code but server says that it is incorrect. Can you help?
font-family: Lobster, monospace;
<p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img class="thin-green-border" class="smaller-image" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
Can you link the challenge? Is that your full code? If it is, then you forgot to close your
<main> tag. It is opened but not closed anywhere
It’s closed. It should be alright
Look at what the challenge asks you to do, and what it says you did wrong.
Yes but my code is correct why it’s saying so?
Well, does your
<img> element have a class of
smaller-image. Here’s an example hint.
You didn’t give the full code. So it is harder to evaluate
what should I write instead of “your”
Well, look at what the challenge asks you to put it as. Look at the first one.
Thank you, I wrote
<img class=“smaller-image” “thick-green-border”
<img class=“smaller-image thick-green-border”
because of this my code was incorrect