Create a border


#1

Continuing the discussion from Create a border:



https://www.codecademy.com/fr/courses/make-a-website/lessons/boundaries-space/exercises/create-border



#2

Do you have a question relating to the lesson text and examples, or the instiuctions? Or is there something more fundamental you need help with?


#3

Hello je peux parler en français?


#4

I have to locate a border in this exercice.I think my code is right but i maybe i didn't find the good location to write it?








.gallery-item {
border: 5px solid #FFF;
}


#5

English only, else Google Translate.

Locate the existing class in the CSS tab, and add the border property. Don't create a new selector rule. It should look like this,

.gallery-item {
  margin: 20px;
  border: 5px solid #FFF;
}

#6

sorry but that's my problem, i can't locate the .gallery-item class selector


#7

That is found here:

<figure class="gallery-item">

Check for that. :wink:


#8

Thanks for helping me! i checked but didn't work. Do i need to write the code each time i see" figure class" ?


#9

or do i need to write my code under

? like this

.gallery-item {
border: 5px solid #FFF;
}


#10

I mean under figure class?


#11

Well, you should go over to your CSS script (main.css) and write it just as @mtf said you should.

.gallery-item {
  margin: 20px;
  border: 5px solid #FFF;
}

Hope this helps! :smile:


#12

thanks a lot!!! j'ai réussi:smile:


#13

thanks a lot! i get it finally!!!!


#14

You're welcome.

Have fun coding! :smile: