Skip to content

Repository files navigation

React Digital Clock

This is a simple digital clock built with React, created as a practice exercise. You can find the practice instructions at https://www.greatfrontend.com/questions/user-interface/digital-clock/react

Instructions

Create a widget that renders the current time in HH:MM:SS format using a 7-segment digital display. You are free to choose to use 12-hour or a 24-hour display.

Here's an example of a digital clock. Each digit needs to be rendered by individual segments, but you can exercise your creativity by choosing different colors and styling it differently. It should however still function as a clock, allowing the user to read the time.

Getting Started

  1. Clone repository:
  https://github.com/itsalysialynn/react-digital-clock.git
  1. Install dependencies:
  yarn
  1. Start development server:
  yarn start
  1. Visit local app at http://localhost:3000

Screenshots

"Screenshot of the home page"

About

A simple digital clock built with React. A practice exercise provided by GreatFrontEnd.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages