I am creating a prototype for a javascript quiz application. There is question followed by multiple choice options. Each options has a button. I am using DOM and event to control the buttons.
I am trying to create function to group all the button together and validate each option that corresponds to the buttons. Right I have separate functions for each button/option. I need help/advice. Here is my project: