Onclick event in js
I had create a calculator. I want to use onclick event to enter number in input screen by just clicking button but I couldn't create perfect logic in function.plz help me to solve it out. https://code.sololearn.com/W8zqhePpIHw3/?ref=app
thx estifanos tekiea
use the dis function on js in this code https://code.sololearn.com/WKc1bJvyiEq1/?ref=app
event listeners? ?
it is probably better to add event listeners in your js file
Alternatively you could use a for loop to detect all buttons being clicked, in a few lines like so.. https://code.sololearn.com/WSEeKw3LvPWN/#html
What's object in oop?
Why this input does not work?
What's wrong? :(