Code Monkey home page Code Monkey logo

aptiv's Introduction

This is an example quiz application built with Vanilla Javascript for Aptiv.

Requirements

Primary

  • The user should be presented with a series of multiple-choice questions, one at a time, and his/her progress (as percentage of questions answered) and score (as percentage answered correctly) should be visible at all times. [x]
  • When the test is complete, a summary view should be shown that includes a list of the incorrectly answered questions along with their true answers. [x]
  • The questions and answers for the test should be stored separately as a text file (CSV, TSV or similar) and easily edited without any code changes. The exact format of this file is up to you, as are the initial set of questions. [x]

Bonus

  • Exportable data in the summary view (i.e. clicking a button downloads to the user’s machine a text file containing all the incorrect answer information). [x]

How to run?

  • Clone the project
  • Navigate to the project's directory
  • Serve the page using Python

Python2

python -m SimpleHTTPServer 8080

Python 3

python -m http.server 8080

How does it work?

  • Click Start.

  • Select an answer from the radio group and click Submit.

  • When the quiz is complete, review the results of the quiz. Export the results as a .JSON file using the button at the bottom of the page.

aptiv's People

Contributors

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