This is my first JavaScript project created while learning JavaScript fundamentals. It is a simple counter application where users can increase, decrease, and reset the counter value.
- Increase the counter
- Decrease the counter
- Reset the counter to 0
- Simple and responsive interface
- HTML
- CSS
- JavaScript
While building this project, I learned and practiced:
- Variables
- Functions
- DOM Manipulation
- Event Listeners
- JavaScript Operators
- Updating HTML using JavaScript
Counter-App/ │── index.html │── style.css │── script.js │── README.md
- Download or clone this repository.
- Open the project folder.
- Double-click index.html or open it in your browser.
- Click the buttons to increase, decrease, or reset the counter.
The purpose of this project was to understand how JavaScript interacts with HTML elements using the DOM and how event listeners respond to user actions. This project helped me practice writing simple JavaScript logic and organizing code into separate HTML, CSS, and JavaScript files.