Anything related to visual styling should be done in CSS. If we want to turn the circles green when they're clicked, the easiest way would be to add a CSS class to the circle that adds a green background color.
Use the "classList" property and the "add( )" method to add the class you just created to a clicked circle. When you get things working, delete the "alert( )" line since we don't need it for feedback anymore.
document.addEventListener('click', function(event){
if (event.target.matches(".circle")){
event.target.classList.add("on");
}
});