Here is a tutorial showing some client-side basics in HTML and Javascript using an HTML canvas element to test your memory and test your mathematics (or recall). If you answer exactly (and you might need a calculator (though you are allowed to recite back the problem, and you score the same in doing this)) you need to be accurate to 0.01
Link to some downloadable HTML programming code … rename to memory_chalkboard.html
You’ll notice heavy use of the Javascript Math.random() function to come up with the numbers and operators of the mathematical problems the program asks you to solve (or at least quote back).
It may seem harsh, but the answer “pork” will not be accepted, alas.
If this was interesting you may be interested in this too.