0
My browser display nothing. I want to display thé two input. Thanks you.
Display input. https://code.sololearn.com/WiiQV81HFk28/?ref=app
3 Respuestas
+ 1
Hi! You have a problem in line 48. I tried to comment it out (the line with the button), I got two input fields on the screen. look for an error in this direction
+ 1
paragraph1.innerHTML = "<button onclick= \"display()\">display</button>";
0
It says unexpected token at line 48 , you are literally trying to write html in js .
"<button onclick = "display()">display</button>"
at line 9 , change the id to "third" from "paragraph1" , also append paragraph1 to body .