Version 2

initial work
moved questions to json file
wrapped everything in jquery document ready function
created two versions of app
• with v1 I was having issues referencing some of the vars
• the other is closer to Quiz Version 1, having issues with the scoring
and determining the when it should show the end screen
fix issue with displaying score screen
added fading
fixed issue with scoring of last most question
changed click events to listen for mousedown
add ability to set cookies
prevent starting of quiz if text input left blank
remove commented out code
setup the beginnings of Welcome Message/Screen work
add back button functionality which removes users answer from userAnswers array
leave previous inputs selected when using previous button
add ability to save first name, username, and password to local storage
check if a user has previously visited via a cookie
wrap the above code in a login function, use that to fork the code, if username and password match stored values proceed to quiz
if user has been here previously when they login an alert pops up with a welcome message
hide first name field by default through styles, if first time user show via jquery
reorganize login function into first time visitor and returning visitor statements
update references to prev button
comment out console logs for IE8
add placeholder support for IE8 and IE9
initial commit for Version 3
+ copy over files from version 2
+ include bootstrap js css and imgs
+ clear out answers forward in the quiz but keep answers back to the first, fixes issue where if the user answers a question proceeds to the second question then hits previous then next the same answer as the first question will continually be selected/set for each question next in order
create folder for handlebar tutorial
remove CSS from header of index.html and move into main CSS file
add doT templates into the header (will eventually move into external template files)
include doT.js in footer area
add fail safe in case previous button is present and clicked so that it never sets the currentQuestion below 0
add basic doT scripts to feed data in and render out a new template
create quizData object to store any variables that will need to be used int he templates and/or updated throughout the app
update references to those variables insert quizData. before them so they are referenced properly
add quizData as the data being passed into the doT templates
separate out questionObj and totalQuestions as they were having issues using the this. reference when they were used in quizData as additional properties
get all of the pieces using doT templates
remove display:none on quiz and final score html templates
add additional variables to quizData to handle current question data, for pulling into doT templates
clean up
added totalQuestions as a property of quizData so I could pull it into the templates
used the quizData.totalQuestions in references in the code
removed unnecessary fade outs on #login-form, when the template is rerendered #login-form is immediately removed
in index adjusted the wording and vars of final score template
add folder to repo called login-test
basic login form testing, that serves a different template depending on which button is pressed
create a way to fake a database and store multiple users in the same session