<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>
    <div class="item6">6</div>
  </div><!-- end of grid container -->
 @import url(https://fonts.googleapis.com/css?family=Poiret+One);
/* Body Styles*/

body {
    font-family: 'Poiret One', cursive;
    font-size: 1.5em;

/* inline-grid will set the grid display property for the chilren
1. Shorthand: grid-gap: 6px 10px;
.container {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr 1fr;
 grid-template-rows: auto;
 border: 3px solid hotpink;

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.1/css/all.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.