+ 6
can you please spot the error
there is a mistake in binary conversion of my js code. i just want to convert the text of input in binary. ps: please make it as simple as possible https://code.sololearn.com/Wvj2viUoquXI/?ref=app
3 Answers
+ 3
On line 8 add: document.getElementById("binary").innerHTML = "";
+ 3
As @Limitless stated, just add that line anywhere in the change() function before the for loop.
0
Hi child's