title: Run JavaScript function for every two times a button is clicked
body: <p>For my web app, I need some javascript code which will run every two times a button is clicked. I've tried so many different things but I can't quite get it right. Because I'm a rookie coder I can't get any code demos on what I've done but I would really appreciate your help anyways.</p>