In this app I have created a Trivia game using JavaScript for the logic and in some instances jQuery to manipulate HTML. Utilizing Bootstrap as my styling library and added CSS styling of my own.
- Emphasizing the use of javascript and jquery together.
- Timers at intervals.
- Dynamically updating the HTML using javascript and jquery at predetermined times
- Use of select from the options forms
- Local Storage to keep the leader Board persistent
- Linear gradient styling in css
- Dynamic restart from of game
-
Create a GitHub repo called
TriviaGame
, then clone the repo to your computer. -
Create a file inside of the
TriviaGame
folder calledindex.html
. This is where you'll mark up all of your HTML. -
Don't forget to include a script tag with the jQuery library.
-
Create a folder inside of the
TriviaGame
folder calledassets
. -
Inside
assets
, create three folders:css
,javascript
,images
- In your
css
folder, create astyle.css
file. - In your
javascript
folder, create anapp.js
file; here you'll write all of your JavaScript and jQuery. - In your
images
folder, save whatever images you'd like to use in this exercise.
- In your
-
Choose a game to build of your own with functionality from below.
-
You'll create a trivia form with multiple choice or true/false options (your choice).
-
The player will have a limited amount of time to finish the quiz.
- The game ends when the time runs out. The page will reveal the number of questions that players answer correctly and incorrectly.
-
Don't let the player pick more than one answer per question.
-
Don't forget to include a countdown timer.