I m not understanding...help to get me out

I m not understanding...help to get me out


Tell us what’s happening:

Your code so far

  .item1 {
    background: LightSkyBlue;
    grid-area: header;
  .item2 {
    background: LightSalmon;
    grid-area: advert;
  .item3 {
    background: PaleTurquoise;
    grid-area: content;
  .item4 {
    background: lightpink;
    grid-area: footer;
  .container {
    font-size: 1.5em;
    min-height: 300px;
    width: 100%;
    background: LightGray;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 50px auto 1fr auto;
    grid-gap: 10px;
  @media (min-width: 300px){
      grid-template-columns: auto 1fr;
      grid-template-rows: auto 1fr auto;
        "advert header"
        "advert content"
        "advert footer";
  @media (min-width: 400px){
      /* change the code below this line */
        "advert header"
        "advert content"
        "advert footer";
    /* change the code above this line */
<div class="container">
  <div class="item1">header</div>
  <div class="item2">advert</div>
  <div class="item3">content</div>
  <div class="item4">footer</div>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:


You can check this, if you don’t understand, you can ask here


The issue is here:

  @media (min-width: 400px){
      /* change the code below this line */
        "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.

But you are telling it:

        "advert header"
        "advert content"
        "advert footer";

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.


i did every thing , tell me the code what should i do to pass this test


Each line is a row.

You need to only have one type content in the top or bottom row.


plz give me the code i did in ur way but i still get hang on this …


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


ok i understand this but so header is in top and footer is in bottom whereas advert and content in middle so what can i do to pass this test


everything is in text …so what should i do to pass this test.


Exactly, if header is at the top, it means the two cells at the top should have the same name and similarly do the same to the bottom row


That’s what we’re telling you. Do this to pass the test.


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


Well, if we give you the code and you don’t understand what we’re saying, then how are you going to do the next one?

How about you try the things we told you to try, and post your modified code, then we can walk you through it step by step.


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


What happens when you hit Run the tests?


Post the updated code that you are trying.


i changed the adver to top in header and bottom in footer then the middle portion is adver and content what


Can you post that code


“advert header” i changed to " top header"
“advert footer” . “bottom footer”