Vanilla JS Quiz

Live Demo:
Source Code :


This is a simple 5 question application. It uses a Model-View-Controller pattern, which is overkill for such a thing, but it was fun and interesting to implement. I think it’s well executed with its transitions created via RequestAnimationFrame and the use of a global ‘Q’ quiz object to avoid polluting the global namespace. Vanilla JS really makes one appreciate the use of frameworks.z


JavaScript, HTML, RequestAnimationFrame, CSS