Here is the HTML code with ID attributes applied to both divs:
<div id="herotext">
<div id="banner"></div>
<h1 id="maintitle">Hey, I'm Charlie</h1>
<p>This website contains basic HTML and CSS</p>
</div>
And here is the corresponding CSS with styles targeting the divs:
#herotext {
position: absolute;
text-align : center;
}
#banner {
position: absolute;
width: 700px;
height: 350px;
transform: skew(20deg);
background: #555;
left: 50%;
margin-left: -15%;
}