Setting the display property to grid

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

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

.container {
  font-size: 40px;
  width: 100%;
  background: LightGray;
  /* Only change code below this line */
  display: grid;  *(as you can see ive input the exact needed solution but it still seems to be wrong when i run the test...what am i supposed to do then its not working and ive looked at a hint and watched the video and the answer is the exact same !)*
  /* 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 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36

Challenge: Create Your First CSS Grid

Link to the challenge:

Try a different browser

i came to same conclusion

but i figured it out in the end, i just copied the ckde from the next question and pasted it and it worked

but thank you x

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