Now we get ready for the Javascript
- We assign an id (called numdisplay) to the div where we're going to display results, so we can manipulate the contents of the div
- Add onclick handlers to all the number buttons, calling the function PressNumberButton (which we haven't written yet)
- Likewise add onclick handlers to the operation buttons, calling PressOperator
- Note that where we pass a string value to the function, we enclose the string in single quotes (because the onclick string is already in double quotes)
- Add an onclick handler for the Clear button
Obviously it won't do anything useful yet — clicking any of the buttons will complain about functions being undefined.