Alan Simpson

menu

Interactive Quiz

Here is some relatively simple HTML, CSS, and jQuery code for an interactive quiz. If you're feeling brave and think your audience has a sense of humor, you can use the Obnxious version of the quiz insteadl which inclodes sound effects. That obnoxious version is here.

1. Which of the following is a primary color when working with light (rather than inks)?

a) Red Correct, in light we use RGB (Red, Green, Blue)

b) Orange That's not a primary color for ink or light.

c) Yellow That's a primary color for inks, but not for light

d) Purple That's not a primary color for ink or light.

2. Which of the following is a JavaScript library?

a) CSS CSS is a language, not a JavaScript library.

b) HTML HTML is a markup language, not a JavaScript library

c) jQuery Correct-a-mundo, jQuery is a wildly popular JavaScript library.

d) Python Python is a programming language, or large snake, but not a JavaScript library.

Here are the two images I used. They're public domain, so feel free to download.

Green checkmark   Red X

All files available from GitHub: https://github.com/AlanSimpsonMe/Interactive-Quiz. Use the Download Zip option under Clone or Download to get all the files in a zip file.