Tell us what’s happening:
The problem asks to make the “advert” cell an empty cell, so I replaced it with a period as the prompt said to do. I have not changed anything else in the code, and have tried resetting it multiple times. I used the hint button to check the solution, and as far as I can tell my solution is exactly the same as theirs, yet I still get the “X” when I run tests and it will not let me continue.
EDIT: For some reason, deleting the comments allowed me to continue. I do think this is a bug that needs to be fixed.
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 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
.
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