Issue in css grid curiculum: Divide the Grid Into an Area Template

Tell us what’s happening:
Hello guys,

I feel like there’s a bug in this section, I’m doing what is expected replace the “advert” by a “.” but yet the test does’nt validate it. If you could try to the challenge so you can see by yourself, cheers :slight_smile:

Your code so far


<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_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36.

Challenge: Divide the Grid Into an Area Template

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/css-grid/divide-the-grid-into-an-area-template

1 Like

just encountered the same Problem :frowning:

@Da-JuJu @prototowb : there is a bug, remove the comments and you will get an honest answers from the tests

1 Like

Indeed your solution works ! Thanks for the solution mate :slight_smile: