A simple stopwatch app built with React and Vite.
- Start, stop, and reset the stopwatch
- Play background music while the stopwatch is running
- Play a click sound effect on button hover
- Adjust the volume of the background music
Click sound: click1.wav by annabloom -- Freesound -- License: Attribution NonCommercial 4.0
Background music: Dark Shrine Loop from OpenGameArt
- Clone the repository:
git clone https://github.com/yourusername/stopwatch-app.git
- Navigate to the project directory:
cd stopwatch-app
- Install the dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and navigate to
http://localhost:3000
(port number could be different). - Use the buttons to start, stop, and reset the stopwatch.
- Adjust the volume of the background music using the volume slider.
- React
- Vite
- CSS Modules
This project is licensed under the MIT License. See the LICENSE file for details.