I try to solve this step:
calculate the height
of the .ground
element to be the height of the viewport minus the height of the .penguin
element.
But i get this error:
You should give .ground
a height
of calc(100vh - 300px)
.
My code is below
.ground {
width: 100vw;
background: linear-gradient(90deg, rgb(88, 175, 236), rgb(182, 255, 255));
z-index: 3;
position: absolute;
margin-top: -58px;
height:calc(100vh -300px);
}