An open API service indexing awesome lists of open source software.

https://github.com/faanid/quick-count

your counter component
https://github.com/faanid/quick-count

dark-theme html-css javascript jest-tests localstorage

Last synced: 2 months ago
JSON representation

your counter component

Awesome Lists containing this project

README

          

# Quick Count

Quick Count is a simple and efficient counter application with local storage support. It allows users to increment, decrement, and save count values, ensuring data persistence even after a page refresh.

## 🚀 Features

- **Increment & Decrement**: Increase or decrease the count easily.
- **Save Count**: Store count history for later reference.
- **Persistent Storage**: Uses local storage to retain values after refreshing.
- **Reset & Reset All**: Reset the counter or clear all saved data immediately.
- **+5 Increment**: Quickly increment by 5 for faster counting.
- **Optimized Performance**: Efficient DOM updates and local storage handling.
- **Dark & Light Theme**: Supports theme switching for better user experience.
- **Reusable Component**: The counter is built as a modular component for easy integration.

## 📌 Installation

Clone the repository and open the project:

```bash
git clone https://github.com/faanid/quick-count.git
cd quick-count
```

Then, open `index.html` in your browser.

## 🛠 Usage

1. Click **"+"** to increment the counter.
2. Click **"-"** to decrement (down to zero).
3. Click **"Save"** to store the current count in history.
4. Click **"Reset"** to reset only the counter.
5. Click **"Reset All"** to remove all stored values instantly.
6. Click **"+5"** to increase the count by 5.
7. Toggle **Dark/Light Mode** for a customizable theme experience.

## 🌐 Live Demo

Check out the live version: [Quick Count on Netlify](https://counter-faanid.netlify.app/)

![counterlight](https://github.com/user-attachments/assets/8b69627c-ecad-4f1f-9017-713cc36032a4)
![counterdark](https://github.com/user-attachments/assets/313f8d98-434b-48bb-b8ea-ac43567e5a6f)

## 📜 License

This project is licensed under the MIT License - feel free to modify and use it.

---

### ✨ Contributing

Feel free to fork, submit issues, or create pull requests to improve Quick Count!