Dividing cells in the grid

hi guys . I have a question. if every word in our code represents one cell . mean in this code :
“header header header”
“advert content content”
“footer footer footer”;


thanksss


**Your code so far**
      
```html

<style>
.item1{background:LightSkyBlue;}
.item2{background:LightSalmon;}
.item3{background:PaleTurquoise;}
.item4{background:LightPink;}
.item5{background:PaleGreen;}

.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;
  grid-template-areas:
  /* Only change code below this line */
    "header header header"
    ".  content content"
    "footer footer footer";
  /* Only change code above this line */
}
</style>

<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>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5.

Challenge: Divide the Grid Into an Area Template

Link to the challenge:

if you assing something the grid area “header” it will expand to all the first row, if you give it “advert” it will stay to the center row left-hand side

1 Like

@ilenia thanks. now I got my question was not posted completely. wanted to ask If every word represents one cell why our challenge case has 5 item but in the code we have 6 words.

at this time nothing is being done with grid areas, go with next challenges to see it being used

1 Like

oook. thanks for help!