Bug? Ref. Responsive Web Design Certif

Tell us what’s happening:
Hello! I think there may be a bug in this challenge of “CSS Grid: Divide the Grid Into an Area Template”. The problem reads, “Place the area template so that the cell labeled advert becomes an empty cell.” I feel like I did exactly that, however it appears that is not the case… Anyone?

Your code so far


.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;
  /* Only change code below this line */
    "header header header"
    ". content content"
    "footer footer footer";
  /* Only change code above this line */

<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/80.0.3987.122 Safari/537.36.

Challenge: Divide the Grid Into an Area Template

Link to the challenge:

It’s a known bug that’s been reported. The workaround is to delete the top comment, then the tests will pass.

1 Like

Success! Thanks @Roma! I’ll try that for the other bug’d problem I have. Thanks again!