Help with Add Borders Around your Elements project

hey i have been stuck here for 2 days now, i cant figure out what is wrong with my code and wont let me continue. here is my code…

The link is not working, returning error 404

Can you show the screenshot of the lower part of the left sidebar so we can see what’s missing?

From what I see currently, you didn’t apply .green-thick-border class to your cat photo.

here ya go

1 Like

Just apply your .thick-green-border to your image. Like this:

<img class="smaller-image thick-green-border" ...


ok thanks, i thought i already had that code in there though

woo hoo that worked, ur a genius, much appreciated

I was having issues with this too. One question I have, is why is the bit where you tell the program you want a thick green border below the block of code where you modify the attributes of the border? It feels like I’m describing it before I’m ordering it…if that makes sense. Shouldn’t I be indicating that I want a thick green border before I say what type of thick green border I like? This set of lessons is very confusing.

cmsheridan, I’m not sure that I understood your question well, but in any programming language you have to declare something before you call it. Otherwise the computer won’t know what you are calling. Class name is only the reference the the full description of a class.

please how do i give my image a border width of 10px, border style of solid and green border color. i have done all what you said and its still not allowing me to continue

border-color: green;
border-width: 10px;
border-style: solid;


A cute orange cat lying on its back.

I was trying to put class= with the thick green border. But this worked for me

not sure what Im doing yet with replying I guess
but in your image class="smaller-image thick-green-border "

To use 2 class in image your code should like this

<img class="smaller-image thick-green-border"

I would like to say Thank you for keeping your post up, I’ve been stuck on this challenge for 2 days and I came across your post through a search on Google.
your post was EXTREMELY helpful.