Skip to content

adarsh23012003/counter-program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”’ Counter App

A simple and interactive counter application built using HTML, CSS, and JavaScript. This app lets users increment, decrement, and reset a number with a clean and responsive UI.

πŸ“Έ Preview

image

πŸš€ Features

  • Increment the counter
  • Decrement the counter
  • Reset the counter to zero
  • Responsive design
  • Smooth button interactions

πŸ› οΈ Tech Stack

  • HTML – Structure of the app
  • CSS – Styling and layout
  • JavaScript – Counter logic and interactivity

πŸ“ Folder Structure

counter-program/
β”‚
β”œβ”€β”€ index.html # Main HTML file
β”œβ”€β”€ index.css # CSS styling
β”œβ”€β”€ index.js # JavaScript logic
└── README.md # Project documentation

🧠 How it Works

  • When the "INCREMENT" button is clicked, the count increases by 1.
  • When the "DECREMENT" button is clicked, the count decreases by 1 (not below 0).
  • The "RESET" button sets the counter back to 0.

πŸ–₯️ Live Demo

You can try it live here: Live Demo Link

πŸ“ How to Use

  1. Clone the repository:
    git clone https://github.com/adarsh23012003/counter-program.git
    
  2. Open index.html in your browser:
    open index.html
    

Releases

No releases published

Packages

No packages published