Additional files such as CSS or JavaScript modules may be added in future updates.
- Clone or download the repository
- Open the
click-counter.htmlfile in any modern web browser - Click the Click Me button to increase the count
- Click Reset to reset the counter
No installation or setup is required.
- A JavaScript variable stores the current click count
- Each button press triggers a function that increments the counter
- The updated value is displayed dynamically on the page using DOM manipulation
- The reset button clears the counter and updates the display instantly
This project helps in understanding:
- Basic HTML document structure
- JavaScript variables and functions
- Event handling using
onclick - Dynamic content updates using
getElementById - Writing simple, readable client-side logic
This project is intended to evolve. Possible future versions may include:
- Difficulty levels
- Timer-based scoring
- UI/UX improvements
- Code refactoring using separate JS/CSS files
- Accessibility improvements
SRV
Student | Web Development & Cybersecurity Enthusiast
This project was built as a learning exercise to strengthen core web development fundamentals.