A class name in css has a dot in front of it like this .green
When you assign this class to an DIV element it looks like this <div class="green">
Your style for the DIV element is broken it is missing a closing bracket they look like this } also you have added a color to the div style, this is not in the lesson and will fail the test.
Hi, hope you are doing well . I have understood your question . There is nothing wrong with color code the only thing is that u dont have to change class name of div element u have to change background color in style tag in respective classes . I think u should review lessons about adding CSS to html file.
<!-- For example this is how you will change the background color of div element of class name "my-div" to yellow -->
<style>
.my-div {
background-color:#ffff00;
}
</style>
<div class = "my-div">
</div>