Planet Fitness Mount Pleasant Quiz

Description

This is a fun timed quiz for the member service representatives of Planet Fitness Mount Pleasant to take and perhaps learn things about their club they never knew about. Some of these questions may be easy, many of them will be things you never thought about as a MSR.

There are 25 questions each worth 10 points when answered correctly, with a final question worth 50. The quiz also features a time which counts down from 120 seconds when the quiz begins. Answering a question incorrectly will reduce the time remaining by 5 seconds for each incorrect answer. If the user manages to answer the final question correctly with time remaining on the timer, they will be given 100 points instead of 50. 300 points is the current possible high score.

The quiz utilizes 2 interval timers,

  • The 1st is the countdown for the time remaining.
  • The 2nd is used to temporarily display whether the answer selected was correct or incorrect.

The Quiz also features the use of local storage to save different users attempts onto the same computer to be viewed later on the scoredboard. The scoreboard will sort the highest score to the top.

Live Link

Link to the Planet Fitness Quiz!


User Story

AS A Member Service Representative at Planet Fitness Mount Pleasant,
I WANT to take a timed quiz on items that pertain to the club and planet fitness in general
SO THAT I can gauge my knowledge of both useful, and useless facts.

Usage

  • Begin by reading the rules and selecting the "okay" button when finished.
  • Enter your name into the prompt and select the "Start" button to start the timer and begin the Quiz.
  • begin answering the 20 questions.
  • When you reach the final question you will be presented with 5 prompts, these can be answered in any order.
  • You will then be take to the scoreboard with you score place on it.
  • By clicking "PF MP Quiz" on the top left of the Navbar, you will refresh the page and be ready for another attempt.
  • By clicking "Scoreboard" you will be taken out of the quiz and set to the scoreboard to view previous attempts from various users.

Technologies

  1. HTML
  2. CSS
  3. JavaScript
  4. Bootstrap
  5. jQuery

Credits

Navbar background: Shattered (Dark), by Luuk van Baars

Body Background: Ice Age, by Gjermund Gustavsen

Font: Barlow Condensed, by Jeremy Tribby

Icon: Font Awesome Heart

License

MIT License

Copyright (c) [2021] [Colin Mudie]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Developer

Colin Mudie