The following is a good test of keeping track of the answers the person selected from a multiple of 4 it also make use of one event listener to get the specific id for a button instead of having 4 ...
JavaScript event listeners & DOM manipulation. Online interactive game of rock paper scissors. Layout with Flexbox, styling with CSS, structure with HTML.