I am trying to make 3 divs with different colors. My red div is not showing up. I tried changing the height, adding another div.
Here is the code
<div id="top">
</div>
</div id="middle">
</div>
<div id="bottom">
</div>
body {
margin: 0;
padding: 0;
}
#top {
background-color: green;
height: 100vh;
width: 100%;
}
#middle {
background-color: red;
height: 100vh;
width: 100%;
}
#bottom {
background-color: blue;
height: 100vh;
width: 100%;
}