Remove element from the DOM
Make sure that you really remove the element instead of just hiding it. Confirm that your code works by clicking the button.
View
<div id="green"/>
<div id="red"/>
<button type="button" id="button">Click Me</button>
HTML
const button = document.querySelector('#button');
const removeRedCircle = () => {
};
button.addEventListener('click', removeRedCircle);
Javascript