0

calculator

Hello, I made my calculator, but he doesnt work. Please help. Here is my code https://code.sololearn.com/W5ahFFOvhiED/#js.

3rd Jun 2018, 10:39 AM
bob
1 Resposta
+ 1
this.getAttribute(data-op) must be this.getAttribute("data-op") Just put 'data-op' in line 13 in parentheses.
3rd Jun 2018, 11:10 AM
luk.faber
luk.faber - avatar