The code for the making calculator …

<html> <head> <title> shrijeet </title> <script> //function that display value function dis(val) { document.getElementById(“result”).value+=val } //function that evaluates the digit and return result function solve() { let x = document.getElementById(“result”).value let y = eval(x) document.getElementById(“result”).value = y } //function that clear the display function clr() { document.getElementById(“result”).value = “” } </script> <!– for styling –>Continue reading “The code for the making calculator …”

Design a site like this with WordPress.com
Get started