I spotted this "Making a Calculator with Basic HTML,CSS and JavaScript" (Thanks Emmanuel!) blog post online and wanted to have a play with it because it looked pretty friendly. It didn't require any code input into my .js file. Presumably HTML has access to some JS functions in it's library. It was very straight forward. One nice takeaway was that it was a helpful visual represenation of the += Assignment Operator.

input type="button" name="one" value="1" onclick = "calculator.display.value += '1'"

Above is an example for the first row of the calculator, I realised if you just use '=' it clears the previous number you just typed. I also got to see how forms and tables are used in HTML for the first time. Feels like a lot more meaningful and fun way of learning, rather than following a lesson in abstract. I didn't bother too much with the CSS because I am bored of fiddling with it. On that it's time for lunch and then on to some Javascript functions learning. 16/03/2021

planet earth silly