Open index.html for the local browser demo. With Node.js available, run node test_calculator.js. The reference code is provided for comparison after your own attempt. Browser checks: blank input, 0, 1, 8, 9, decimal, text, and an invalid input immediately after a valid total. No network request is made by the calculator.