A dynamic quiz application in JavaScript