New Add Gaps Faster with grid-gap

New Add Gaps Faster with grid-gap
0

#1

Tell us what’s happening:

Although the code I am using is correct I still get an error saying that this is not done, correctly.

Your code so far


<style>
  .d1{background:LightSkyBlue;}
  .d2{background:LightSalmon;}
  .d3{background:PaleTurquoise;}
  .d4{background:LightPink;}
  .d5{background:PaleGreen;}
  
  .container {
    font-size: 40px;
    min-height: 300px;
    width: 100%;
    background: LightGray;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    /* add your code below this line */
    grid-row-gap: 10px;
    grid-column-gap: 20px;
    
    /* add your code above this line */
  }
</style>
<div class="container">
  <div class="d1">1</div>
  <div class="d2">2</div>
  <div class="d3">3</div>
  <div class="d4">4</div>
  <div class="d5">5</div>
</div>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/css-grid/add-gaps-faster-with-grid-gap


#2

The exercise is about using the shorthand grid-gap property to achieve the same result as using both grid-row-gap and grid-column-gap


#3

you have to use “grid-gap” shorthand property in this challenge and add the required values with the help of space