I tried to make something out of the grid system (just learned that), but nothing is showing, and my code looks pretty much like my exercice (note quite the same structure / number, but still).
I wanted to make a website who'll get this scheme : "header header" "left right" "right right" "contact contact" "footer footer"
.grid {
display: grid;
width: 100%;
/* height: 1200px; */
/* position: relative; */
/* margin: auto; */
grid-template-areas: "header header" "left right" "right right" "contact contact" "footer footer";
grid-template-rows: 300px 600px 600px 200px 100px;
grid-template-columns: 1fr 3fr;
}
#header {
background-color: burlywood;
grid-area: header;
}
#left {
background-color: cadetblue;
grid-area: left;
}
#right {
background-color: coral;
grid-area: right;
}
#contact {
background-color: cornflowerblue;
grid-area: contact;
}
#footer {
background-color: darkcyan;
grid-area: footer;
}
<div class="grid">
<div id="header"></div>
<div id="left"></div>
<div id="right"></div>
<div id="contact"></div>
<div id="footer"></div>
</div>
EDIT : Copy paste failed, my original code include the "." in ".grid" and changed the mistake i made in the id (tried some things, didn't changed that back), but still the same result.