This is a simple web-based counter application designed for tracking quantities of an item, represented visually with an image. In this project, the item displayed is French fries, and the user can increase or decrease the quantity using buttons.
- Displays an image of an item (e.g., French fries) with a counter interface.
- Users can increase or decrease the quantity of the item using "+" and "-" buttons.
- Real-time display of the current count.
- Simple and clean UI.
- HTML: For structuring the user interface.
- CSS: For styling the application.
- React: For dynamic counter functionality.
- Ensure you have Node.js installed (if React is being used).
-
Clone the repository:
git clone https://github.com/pratyush0898/counter.git
-
Navigate to the project folder:
cd counter
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
- Once the app is running, you'll see a web page with an image of French fries and a counter.
- Use the "+" button to increase the count and the "-" button to decrease it.