I am trying to generate a layout with CSS grid that will create a top div for a header and then a side div for navigation and a central div for content. My code is as follows:
.container{
display: grid;
gap: 20px;
grid-template-areas:
"hd hd"
"nav des"
"nav des";
}
.hd{
grid-area: "hd";
}
.nav{
grid-area: "nav";
}
.des{
grid-area: "des";
}
But all this does is put hd in the top left, nav in the bottom left, and des in the top right.
Any thoughts would be greatly appreciated!