- 1

I try id prompt in body html instead id JavaScript. But i want it to do JavaScript. Thanks you sir sololearn.

Id prompt body html https://code.sololearn.com/W6RVkKCFu1J2/?ref=app

12th Jul 2021, 7:14 AM
Malick Diagne
Malick Diagne - avatar
1 Respuesta
0
let prg = document.querySelector('p'); prg.id = 'prompt'; To see how the button works, you need to delete line 43.
12th Jul 2021, 8:05 AM
Solo
Solo - avatar