<span onclick="document.calc.text.value +='1'">1</span> can u guys explain what this code say | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

<span onclick="document.calc.text.value +='1'">1</span> can u guys explain what this code say

Onclick function

7th Apr 2022, 10:18 PM
Nv Abdallah
Nv Abdallah - avatar
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!
16th Apr 2022, 4:16 AM
Chris Coder
Chris Coder - avatar