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


  .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 */

<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>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ 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

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.