<div dir="ltr">Hello All -<div>I am trying to iterate a counter in an event listener, so that if the user clicks on four objects, an action occurs.   How can I do this?  I also can&#39;t figure out how to make a global variable that can be accessed throughout the program.</div>
<div><br></div><div>Emily Higgins</div><div>Boothbay Region High School</div><div>Boothbay Harbor, Maine</div></div>