CSS 'grid-column-gap' property

"grid-column-gap" has been deprecated and has been replaced with"column-gap" property. freecodecamp should make this change:
Describe your issue in detail here.

  **Your code so far**


.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;
  /* Only change code below this line */
  grid-column-gap: 20px;
  /* 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36

Challenge: Create a Column Gap Using grid-column-gap

Link to the challenge:

the current Respinsive Web Design Curriculum is going to be deprecated soon - the Responsive Web Design beta should be up to date with this

Hello I think the 20px should be the grid-column-gap value. :slightly_smiling_face:

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