Coder Social home page Coder Social logo

checks-interface's Introduction

Checks Interface

Checks interface that displays a list of checks which have to be answered "yes" or "no".

Total code coverage: 94.3%

Project setup

  • Requirements: node 14+

  • Navigate to project folder

  • First run npm install

  • To use the application npm start

  • To format code with prettier and eslint run npm run format

  • To test the code npm test

Project functional requirements

  • Display a list of checks from mock api
  • User can select "yes" or "no" on a check
  • User can submit when all checks are "yes" or one check has "no"
  • Submit sends only values that have definitive answer (yes|no)
  • User must be able to navigate using keyboard keys(arrowDown|arrowUp) and select "yes" when 1 is pressed on "no" when 2 is pressed
  • Success screen must be shown on successful submit
  • Check is disabled unless previous check is answered with "yes"

Derived functional requirements

  • auto select first check when navigation or select key is pressed
  • Initially indicated loading to the user
  • Show error message when initial load fails
  • Show error message when submit fails
  • Show error message when no checks are available
  • When check row is clicked make it active for keyboard use

checks-interface's People

Contributors

kristerl avatar

Watchers

 avatar  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.