@media (min-width: 400px){
.container{;
/* change the code below this line */
grid-template-areas:
"advert header"
"advert content"
"advert footer";
/* change the code above this line */
}
}
The instructions say:
When the viewport width is 400px or more, make the header area occupy the top row completely and the footer area occupy the bottom row completely.
telling it that the top row should be “advert” and “header”, when it should just be “header” (remember to put it twice as it is two columns) and the same problem with the footer.
Each word - advert, header, content, footer acts as a cell, and as @Tirjasdyn said each line is a row,
so that makes
row -> advert header
row -> advert content
row -> advert footer
Each element is a cell, and for a row to be occupied by a cell, both the cells of a row must have the same name i.e., advert, header, footer or content,
If you don’t get this, you will be given the code
no give me code what should i edit to pass this test i m understanding the meaning of the text but everything is in text and again its wanting to edit …so what i do:?
ok u r saying right but i m understanding the question ok .but problem is that its saying top bottom and middle portion …there is already present in viewport 400 container . i think there is no need to edit because there is same thing which the question require
The qn says top should be occupied by header, but you have advert and header at the top, think what to change so that the top has only header,
Note: You should have only two cells for each row