Plse help me to understand how the code will work in css grid , and what is it?,i finished my first three test in css grid but i didnt understand help meeeee

Tell us what’s happening:

Your code so far

  .container {
    font-size: 40px;
    width: 100%;
    background: LightGray;
    display: grid;
    /* modify the code below this line */
    grid-template-columns: 1fr 100px 2fr;
    /* modify the code above this line */
    grid-template-rows: 50px 50px;
<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 (Linux; Android 7.1.1; XT1562 Build/NPD26.48-24-1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.123 Mobile Safari/537.36 EdgA/

Link to the challenge:

The below is an example to show you fr untis work and how it is used in grid,

1 Like

thanks buddy , happy coding

1 Like