Create a border


Continuing the discussion from Create a border:


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?


Hello je peux parler en français?


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;


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;


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


That is found here:

<figure class="gallery-item">

Check for that. :wink:


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


or do i need to write my code under

? like this

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


I mean under figure class?


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:


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


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


You're welcome.

Have fun coding! :smile: