I am new to javascript and I have an assignment to create seven circles which should change colour on a mouse click. The first circle is changing colour but the other six just r
An id (identifier) needs to be unique, document.getElementById() always catches the first one only.
Use a class and loop