+ 1

Javascript button functions

I have created a quiz with 4 buttons ..I want when any of them clicked it remains blue and other turns grey..also it stop listening after one click.please review my code and help me to make it function please please please https://code.sololearn.com/WTcRVBrPWk79/?ref=app

17th May 2020, 2:57 PM
Shubham Thakur
Shubham Thakur - avatar
1 Answer
+ 1
Shubham Thakur Hello. I really appreciate the hard effort you gave to make the code :)) As a gift, check the the error-free and redesign of the javascript code :)) If you don't understand any part of the code, don't hesitate to ask here :)) To add new question, just follow the format and add a new question in the 'questions' array! https://code.sololearn.com/WgfdIs19Eq93/?ref=app
17th May 2020, 3:52 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar