Edit on
<div class="grid">

<p class="item">First item in HTML with default order value of 0</p>
<p class="item">Second item in HTML given an order value of 1</p>
<p class="item">Third item in HTML with default order value of 0</p>
<p class="item">Fourth item in HTML given an order value of -1</p>

</div>
body {
  font-size: 1.5rem;
  font-family: arial, helvetica;
}

.grid {
  display: grid;
  padding: 30px;
  justify-content: center;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 20px;
}

.item:nth-child(4) {
 order: -1;
}

.item:nth-child(2) {
  order: 1;
}

.grid2 {
  display: grid;
  padding: 30px;
  justify-content: center;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 20px;
}
Rerun