examples
- HTML
- Javascript
- js1.html: basic Javascript
(writing to the document)
- js2.html:
pop up a window, prompt for input, display the input in the document
- js3.html:
pop up a window, prompt for an input number, do math on the
number and display the result in the document
- js4.html:
pop up a window, prompt for a name, display that in the
document using a form
- js5.html:
alert box, prompt window and if statement
- js6.html:
form and button
- js7.html:
function, form and button
- js8.html:
function, form, button and math
- js9.html:
function with arguments
- jsa.html:
function with arguments and if statement
- jsb.html:
function with for loop
- jsc.html:
function with nested for loops
- jsd.html:
function with and without arguments, based on different button clicks