- 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
1 Resposta
0
let prg = document.querySelector('p');
prg.id = 'prompt';
To see how the button works, you need to delete line 43.