Good morning. I’m trying build a calculator with all that I learned till now but I found a small issue wich I can not find solution yet. The problem is when I press on button (dot ‘.’) 2 times will appear 2 times but I won’t it, I won’t he keep repeating this. I will show my code.
<input type="button" value="." onClick="document.calculator.display.value+='.'">