CSS Grid - Add Columns with grid-template-columns

I tried to execute the grid-template-columns property with the given width of 100px 100px 100px but it is not allowing me to clear the level for some reason please have a through look into it and resolve the issue. Thanks

<style>
  .d1{background:LightSkyBlue;}
  .d2{background:LightSalmon;}
  .d3{background:PaleTurquoise;}
  .d4{background:LightPink;}
  .d5{background:PaleGreen;}

  .container {
    font-size: 40px;
    width: 100%;
    background: LightGray;
    display: grid;
    /* Only change code below this line */
    grid-template-columns: 100px 100px 100px;
    /* Only change 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_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Challenge: CSS Grid - Add Columns with grid-template-columns

Link to the challenge:

Your code seems correct and working fine in my browser. Try to solve the challenge in some other browser or try using incognito mode.

1 Like

Thank you it worked on safari.

1 Like