- 1
<span onclick="document.calc.text.value +='1'">1</span> can u guys explain what this code say
Onclick function
1 Answer
0
Looks like some calculator code.
After quick google search, I found an explanation.
Read more about it in the link I have provided below. Check out what it says under figure 1.
https://maztars.com/how-to-create-a-calculator-using-html-css-and-javascript/
Happy Coding!