Calculator

Calculator
0
let result = document.getElementById("result"); function clearResult() { result.innerHTML = "0"; } function appendNumber(number) { if (result.innerHTML === "0") { result.innerHTML = number; } else { result.innerHTML += number;

No comments

Powered by Blogger.