Skip to content

klintron/Which-Trailer-Park-Boys-Character-Are-You-Quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Synopsis

A "What Trailer Park Boys Are You" quiz in nothing but HTML and JavaScript. It scores people on two axis: how lawful they are and how methodical they are, and assigns a character based on the score.

Examples

You can take the quiz Here.

Motivation

This is purely a learning project. It's my second JavaScript project. It's mostly a proof of concept for the two axis scoring methodology. I'm sure I'm not the first person to use this for a "What $blank are you?" quiz, but I think it's a useful way to evaluate multiple options without having to increase the number of questions or chooses.

Roadmap/Contributions

Soon I'd like to make it more visually appealing, add images and textual explanations for the results, and use the write.element function to write the result to the page instead of using an alert. I also need to add validation to the form so that you can't submit without filling out all the answers. As mentioned above, this is a learning project/proof of concept. Later I'll be looking at JQuery.

There are a bunch of other things I'd like to improve. I'd like to be able to grab the responses as an array, instead of creating a variable for each one. If someone knows how to do this, please let me know. I saw a StackOverflow answer, which I can't find now, that suggested it was possible but I wasn't able to get it working.

Eventually I'd like to make this into a template that other people could easily use to Then I'd like to use two functions to add up the even and odd responses. The idea is to make it easier to add questions without having to modify the code. Likewise, I'd like to separate the scoring from the character descriptions, to make that easier to modify as well, and make the scoring adaptable to the total number of questions.

Contributors

Did this all by my lonesome.

License

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004

Copyright (C) 2004 Sam Hocevar sam@hocevar.net

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

        DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published