+ 1
I need help! I have no idea why my calculator is not working, it shows an error in line 4 in JS, and I have no idea how fix it!
https://sololearn.com/compiler-playground/Wv8Ex0z75XDz/?ref=app
4 odpowiedzi
+ 1
the console outputs an error in line 4, and I fixed it, but the console again showed an error in line 5, then 6 and so on, so I have no idea how to fix it 😔 😕... this is my first time working with neumorphism, so it would be lovely if anyone could help me out with this problem ☺️
0
in your js, put display variable assignment inside onload function.
onload = () => {
let display =
document.getElementById('display');
}
0
Works perfectly for me.
Gorgeous calculator, by the way.
0
Zvi
Android app users gets error messages without the onload hack.