- Clone the repository:
https://github.com/SachindaBandara/Digital-Clock-using-React.git
- Navigate into the project directory:
cd DigitalClock
- Install the dependencies:
npm install
Start the development server:
npm run dev
Open your browser and go to http://localhost:3000 to see the digital clock in action.
-
Displays the current time in HH:MM:SS format.
-
Updates every second to reflect real-time.
-
Responsive design suitable for various devices.