Below is an example of HTML code:
<h1 class="one">Hello</h1>
Here is the corresponding CSS style sheet applied to it:
h1:hover {
color: red;
}
h1.one {
color: blue;
}
When this code runs, the h1 element should turn blue. However, there seems to be an issue because after hovering over the element, the color does not change to red. Can someone please help me figure out what's wrong?
Thank you!