+ 1
Why doesn't the equal work?
It says undefined every time. Can you help me? https://code.sololearn.com/W916qpLEF36I/?ref=app
3 Answers
+ 3
Don't use document.getElementById("res").value. That property is undefined.
Use either .innerHTML or .innerText
+ 2
Thank you!
+ 1
There's another question I made if you know the answer...