Skip to content

crathor/adp-entrance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz Project

Getting started requirements

Node v8.11.2^ NPM v5.8.1^ or Yarn v1.7.0^

Starting instructions

  1. clone this github repo
  2. cd into adp-entrance/quiz-adp-entrance
  3. run npm install OR yarn install
  4. run npm start OR yarn start
  5. ENJOY!

App Developer Entrance Project

Create a client-side quiz app based on the provided requirements, data and views.

Requirements

  • clone this repo as a starter
  • use only HTML/CSS/JS
  • use any frameworks or libraries of your choice (ex: JQuery, React, Bootstrap)

Quiz Data

Quiz data can be found in src/quiz.json. This content will be loaded when a user starts a quiz.

For every question there is one correct answer (with a value of true) and three incorrect answers with a value of false. The content field contains a possible answer.

{
  quizzes: [{
    title: 'Quiz 1',
    questions: [{
      question: 'Question 1?'
      answers: [{
        content: 'Answer 1.',
        value: false // wrong answer
      }, {
        content: 'Answer 2.',
        value: true // correct answer
      }]
    }]
  }]
}

Views

Feel free to be creative and style your views. As a bare minimum, please create the following three views:

01 - Welcome Screen

01 - Welcome View

The view presented when the user starts the app.

  • load either quiz 1 or quiz 2 on click
02 - Quiz View

02 - Quiz View

While the user is selecting their answers:

  • display all 3 questions with possible answers
  • provide feedback when a user clicks on an answer. Consider styling correct or wrong answers with green or red button colors
  • show the next question after a time delay of 2 seconds
  • track the number of correct answers in the top right corner
03 - Completion View

03 - Completion View

When the user has finished answering all three questions:

  • display the final score
  • show a "pass" message if more than 50% of the answers were correct, show a "fail" message otherwise

Upon Project Completion

  • push your finished app to Github
  • provide your username and repo to an instructor

Good luck!

About

Red Academy Entrance Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •