Skip to content

A counter web app with keyboard shortcuts and local storage support. Perfect for counting events, tracking activities and more!

License

Notifications You must be signed in to change notification settings

Atia-Farha/counter-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Counter Web App

A simple and minimalistic counter web app with keyboard shortcuts and local storage support. Perfect for counting events, tracking activities and more.

There is also Vue version in vue-counter-app repository.

Table of Contents

Project Structure

counter-app/               # Root directory
├── index.html            # Main HTML file
├── src/                  # Source code directory
│   ├── css/              # Directory for stylesheets
│   │   └── style.css     # Main CSS file for styling
│   └── js/               # Directory for JavaScript files
│       └── script.js     # Core JavaScript file
├── README.md             # Project documentation
└── LICENSE               # License file

Technologies Used

  • HTML

  • CSS

  • JavaScript

Features

  • Increment, Decrement, Reset: Intuitive button controls for managing the counter value.
  • Animations: Smooth animations for pop-up notifications.
  • Keyboard Shortcuts: Control the counter using specific keys.
  • Persistent State: Counter value is saved using Local Storage and persists across sessions.
  • Responsive Design: Works seamlessly on different devices and screen sizes.

Usage

  1. Simply open this link.
  2. Use the + button to increment the counter.
  3. Use the - button to decrement the counter.
  4. Use the Reset button reset the counter. (visible and work only when the counter is greater than 0)
  5. The counter value will persist across browser sessions.

Ensure that you already have an installed web browser (Chrome, Firefox, etc.) on your device.

Keyboard Shortcuts for Buttons

  • Increase: Spacebar, ArrowUp, or S

  • Decrease: Backspace, ArrowDown, or A

  • Reset: Enter

Reporting Issues

If you encounter any bugs or have suggestions for improvement, please report them in the Issues section of this GitHub repository. I will address them promptly.


© Designed and developed by Atia Farha | ALL RIGHTS RESERVED

About

A counter web app with keyboard shortcuts and local storage support. Perfect for counting events, tracking activities and more!

Topics

Resources

License

Stars

Watchers

Forks