Skip to content

mustafaHTP/react-stopwatch-app

Repository files navigation

Stopwatch App

A simple stopwatch app built with React and Vite.

ss

Features

  • 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

Used Assets

Click sound: click1.wav by annabloom -- Freesound -- License: Attribution NonCommercial 4.0

Background music: Dark Shrine Loop from OpenGameArt

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/stopwatch-app.git
  2. Navigate to the project directory:
    cd stopwatch-app
  3. Install the dependencies:
    npm install
  4. Start the development server:
    npm run dev

Usage

  1. Open your browser and navigate to http://localhost:3000 (port number could be different).
  2. Use the buttons to start, stop, and reset the stopwatch.
  3. Adjust the volume of the background music using the volume slider.

Technologies Used

  • React
  • Vite
  • CSS Modules

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Releases

No releases published

Packages

No packages published