Help with Add Borders Around your Elements project

Help with Add Borders Around your Elements project
0.0 0

#1

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…
https://photos.google.com/photo/AF1QipMlfcIvVxk1CAjly0DfsJeMXH7IhdUIcv1e96mK


#2

The link is not working, returning error 404


#3


#4

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.


#5

here ya go


#6

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

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


#7

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


#8

woo hoo that worked, ur a genius, much appreciated


#9

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.


#10

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.


#11

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


#12

.thick-green-border
{
border-color: green;
border-width: 10px;
border-style: solid;
}

CatPhotoApp

A cute orange cat lying on its back.

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


#13

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


#14

To use 2 class in image your code should like this

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