Skip to content
This repository was archived by the owner on Dec 23, 2022. It is now read-only.
/ ANZ-Code-Quiz Public archive

JHU Bootcamp homework - creating a JavaScript Quiz. An early project that's beautifully simple. Test your friends or make your own questions!

License

Notifications You must be signed in to change notification settings

anzook/ANZ-Code-Quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANZ-Code-Quiz

JHU Full Stack Bootcamp homework #4 - creating a JavaScript Quiz, with, JavaScript

A JavaScript application that teaches the user (and developer!) JavaScript

This is a basic web-app designed to test the user's knowledge of JavaScript, while giving the developer practice with concepts in JS including HTML manipulation, events, linking functions, and objects.

Design Notes

Building this was a challenege for the juinior (at this stage) developer, as it applies a number of new concepts and integrations in order to build a fully-fledged web application. As per the specification, there were rules to implement including loosing time when a question is answered incorrectly. Additionally, scores are logged with local storage to retain high scores. JQuery was not allowed, but Bootstrap was used to simplify design. The bonus objectives were to customize the theme, have multiple quizzes, and audio files corresponding to correct and incorrect answers. The developer opted to use an animation for incorrect answers and build a single quiz, but randomly sort the questions and answers so the quiz will be different each time.

Viewing and using the website

Github Pages link: (https://anzook.github.io/ANZ-Code-Quiz/) Mainpage Screenshot Demo

Scoring is caluclated as: (number of questions correct) X ([const]time set per question) + (time remaining)

The 'High Scores' button toggles the display card of scores.

All website assets are contained within the repo (https://github.com/anzook/ANZ-Code-Quiz)

Pages include:

  • JavaScript Quiz (index.html and framework)

  • script.js (main code)

  • questions.js (array of objects with questions in set format)

  • style.css (basic modifications and animations on top of Bootstrap)

Contributing

Please feel free to improve, fix, or simply add questions to the question.js files! Add your own question bank and design a custom quiz to your needs.

Acknowledgements and Credits

Website created as an assignment for the Johns Hopkins full-stack web development bootcamp (in partnership with Trilogy Education Services). Guidance and assistance provided by:

  • Stetson Lewis (Instructor)
  • Donald Hesler (TA)

About

JHU Bootcamp homework - creating a JavaScript Quiz. An early project that's beautifully simple. Test your friends or make your own questions!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published