What is advert? can anyone explain this challenge to mr?

Tell us what’s happening:
Describe your issue in detail here.

  **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"
    "advert 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36

Challenge: Divide the Grid Into an Area Template

Link to the challenge:

“advert” is just an arbitrary name for that section, as is “header” and “footer”. They could have been called “top”, “middle”, and “bottom”, or “alpha”, “gamma”, and “omega”, or whatever.

1 Like

“advert” is a reference to an element that will have the property grid-area be set to advert

1 Like

And more basically (I don’t want to assume your skill in English), “advert” is a shortened name for an “advertisement”. But the word has no special meaning in HTML or CSS, it’s just a name that they chose because it is what that section is supposed to be, an advertisement. If it was a section dealing with registration, they would have called it that.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.