Difference between revisions of "Coding Challenge1"

From rbachwiki
Jump to navigation Jump to search
(Created page with "1. Build a function constructor called question to describe a question. A question should include <br> a. Question itself <br> b. the answer from which the player can choose t...")
(No difference)

Revision as of 22:25, 8 November 2016

1. Build a function constructor called question to describe a question. A question should include
a. Question itself
b. the answer from which the player can choose the correct one ( choose and adequate data structure here, array object etc.)
c. correct answer

2. Create a couple of questions using the constructor

3. Store them all inside the array