Background color not showing

I’m currently doing the off platform project for CSS, but one of my background colors is not showing when I test. I have no Idea why this is happening and have tried multiple things. Here’s some HTML and CSS code (sorry for the messiness)

<!DOCTYPE html>
    <title>Dasmoto's arts and crafts</title>
    <link href="./index.css" rel="stylesheet">
<h1>Dasmoto's arts & crafts</h1>
<h2 class="brushes">Brushes</h2>
<Img src=""></Img>
<h4><bold>Hacksaw brushes</bold></h4>
<p>Made of the highest quality oak, Hacksaw brushes are known for their weight and ability to hold paint in large amounts. Available in different sizes. <div class="blue-text">Starting at $3.00 / brush.</div></p>
<div class="brushes"><h2>Frames</h2></div>
<img src=""></img>
<h4>Art frames (assorted)</h4>
<p>Assorted frames made of different material, including MDF, birchwood, and PDE. Select frames can be sanded and painted according to your needs. <div class="blue-text">Starting at $2.00 / frame.</div></div></p>
<img src=""></img>
<h4>Clean Finnish paint</h4>
<p>Imported paint from Finland. Over 256 colors available in-store, varying in quantity (1 oz. to 8 oz.). Clean Finnish paint microbinds to canvas, increasing the finish and longevity of any artwork. <div class="blue-text">Starting at $5.00 / tube.</div></p>


h1 {
    font-family: Helvetica;
    font-size: 100px;
    font-weight: bold;
    color: khaki;
    text-align: center;
    background-image: url(;

h4 {
    font-family: helvetica;
    font-size: 32px;
    font-weight: bold;
    color: white;

.brushes h4
    background-color: mediumspringgreen !important;
    padding: 10px;

I’m specifically looking for why the .brushes background does not work.

In CSS the below code tries to target h4 child elements of whatever object has class=“brushes”

.brushes h4 { }

This is a problem if you are only trying to target the item with class=“brushes” because the h2 element with that class has no child element.

Instead just use this:

.brushes { }

If you are trying to target BOTH .brushes AND ALL h4 elements then use a comma:

.brushes, h4 { }