Back to projects

Vanilla JavaScript

Reaction Speed Game

An interactive reaction speed game built with vanilla JavaScript, HTML, and CSS. The player chooses a game duration and difficulty level, then clicks randomly positioned circles before the timer reaches zero. The project was built to practice JavaScript timers with setInterval and clearInterval, DOM manipulation, event delegation, game state, random positioning with getBoundingClientRect(), difficulty logic, dark/light theme switching, sound effects, haptic feedback, and responsive mobile-friendly UI.

HTML5CSS3JavaScriptsetIntervalclearIntervalDOMEventsgetBoundingClientRectResponsive Design
Reaction Speed Game demo