Help with grid layout: why advert is in the wrong place?

Help with grid layout: why advert is in the wrong place?
0

#1

Hi. I am really at a loss on why the heck advert is displayed on the right instead of on the left?
Here is a link to my pen: https://codepen.io/SM_Georg/pen/pOyQgv
Would be greatful for any new leads.


#2

hi there, I couldn’t figure out what you meant by ‘advert’ as I couldn’t find anything called advert in your file.
Can you specify the element tag you are trying to layout?


#3

Sorry. There is a div element painted red with class “item2” and text “Advert”


#4

I’m sorry, I still have no idea what you are referring to.
When I click on the link you gave all I see is a green rectangle inside a gray rectangle.


#5

I thought it saves automatically. I saved it once again. Try reloading.


#6

you have a typo:
grid-area: advertr;


#7

I feel soooooo dumb. Spent forever figuring what’s wrong.


#8

Thank you so much. I’ll try to be more attentive


#9

Don’t worry about. It happens.