Not able to make it consume last two columns

Tell us what’s happening:
Can you please explain to me in brief?

Your code so far


.item5 {
  background: PaleGreen;
  /* Only change code below this line */
  grid-column: 2/3;

  /* Only change code above this line */

.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;
  grid-gap: 10px;

<div class="container">
<div class="item1">1</div>
<div class="item2">2</div>
<div class="item3">3</div>
<div class="item4">4</div>
<div class="item5">5</div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Use grid-column to Control Spacing

Link to the challenge:

The syntax is grid-column: start / stop. You want to start at column 2, but you need to stop past column 3.

1 Like

hello! grid-column: 2/3 was the first thing I tried, but it didnt worked

Right, normally the box would start at 2 and end at 3. You need to go further, starting at 2 and ending at a bigger number : )

1 Like

The way the grids work, it starts from left to right. That means the beginning of 2 is at the left corner of 2, and the beginning of 3 which is where to end is the left corner of 3. That means, you want to go over it.


Thanks, A lot! guys @JeremyLT @Catalactics
Hope I can help new students someday, Like you guys :blush: