+ 2

Code help: JS

Run the code first, and on the first input put "1", and click "check". A different input comes up. In that one put "55". Click "check2". It doesn't work. No idea why. Can you guys check my JS (th last function). And my HTML at the bottom. And see if you can find why it's not working? Thank you. https://code.sololearn.com/WCpYu510wGLf/?ref=app

18th Aug 2019, 12:53 AM
Ginfio
Ginfio - avatar
1 Respuesta
+ 3
Remove line 7: inputB = document.querySelector(".second_input"); https://code.sololearn.com/W9TodTsUVR8e/?ref=app
18th Aug 2019, 1:00 AM
Gordon
Gordon - avatar