Enter a number for each of the text boxes and press the button to add the numbers together. Why learn to add when a computer can do it for you?
In this code example notice that the JavaScript is contained within the same .html file as the Hyper Text Markup Language (Inside the "head" tag). There is a way to isolate the JavaScript in a separate external file and point to the .js file from the .html file.