How mazen-sharaf/bomb-clicker works
Bomb-Clicker is a small browser clicker: the user clicks the bomb to increase a kill count, which the script displays and persists across visits; reaching 100 triggers an alert. The script excerpt shows DOM selection, event handling, storage reads and writes, and the alert. The HTML and CSS are present in the tree but were not excerpted, so their specific contents and styling relationships are not described.
Main entry points: Script.js Click counter · Main.html Bomb page
Components 6
Other components
- User
- Bomb page
Bomb-Clicker/Main.html - Click counter
Bomb-Clicker/Script.js - Browser storage
- Browser alert
- Page styles
Bomb-Clicker/Style.css
Connections 4
- User → Bomb page: clicks bomb
README.md - Click counter → Bomb page: updates display
Bomb-Clicker/Script.js - Click counter → Browser storage: loads and saves
Bomb-Clicker/Script.js - Click counter → Browser alert: alerts at 100
Bomb-Clicker/Script.js