Count the Balls

Step 3: Add a ball class to the div:
ball.classList.add(`ball`)
In CSS, add the following to make the div look like a ball:
.ball {
  width: 20px;
  height: 20px;
  border: 1px solid black;
  border-radius: 50%;
}
You will put the ball in the box in the next step.
Last step Next step