Git Product home page Git Product logo

timer-test's Introduction

Timer app

This project was bootstrapped with Create React App.

This React app has one page, with one component. The Timer component displays the current time in the format hh:mm:ss. Timer.test.js contains tests for the timer string starting with a default value and then containing something other than that value (assuming a time).

TASK

Amend the Timer.js component file to add state variables, a function to set the current time string and another to do this at one second intervals.

OPTIONAL

Add your own styling (an empty class .timerStyle has been created and you can add layout or other elements)

Example UI

Timer-Example.jpg

To complete the test

Fork this repository
Run npm install
Run npm start and let us know if there are any problems with running the code
Run npm test (the two tests in Timer.test.js should fail, the test for App rendering should pass)
Add your code
Ensure that all tests pass
Push to a repository in your own Github account
Send us an email with a link to your repository

timer-test's People

Contributors

futurecodersse avatar d-tsonev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.