Skip to content

shaitanCoplin/metal-quiz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metal-quiz

Simple PHP Quiz Tutorial

This is the source code for the PHP Quiz tutorial found at http://www.lockedowndesign.com/build-a-quiz-in-php-tutorial .

In this example, the user answers five multiple choice questions that determine What Metal Band they most resemble. Each possible outcome starts with a score of zero, and corresponding answers add to the score. Whichever outcome has the highest score at the end is shown.

Much thanks to Chris Coyier and CSS-Tricks for giving me the initial blueprint: http://css-tricks.com/building-a-simple-quiz/

Things You Can Do With This:

You can embed the Metal Quiz in your own site (just copy + paste in source or a plain text widget. Don't forget to change the brackets):

[iframe src="http://metalquiz.lockedowndesign.com/" height="450" width="600"][/iframe]

You can modify it for your own needs, just provide attribution. This has an MIT license.

You can tear it apart and rebuild it again. Learning is something that never stops.

About

Simple PHP Quiz Tutorial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 74.8%
  • CSS 25.2%