JavaScript Graphics

Back to index


Your browser is broken ASSIGNMENT:
Superscript and subscript can be useful in certain situations as illustrated on the canvas area to the left. Inspect the code to see how the placement of the twos was achieved.

What you will do will be to create a two column table displaying the values one through ten squared. Basically the following format will be used for each item:


    32 = 9
    
Also rather than simply typing in the answer, you will use the Math.pow(base,exp) function.