+ 1

I have error line 9. Thanks you

I want to change p with class prompt. https://code.sololearn.com/WSB0ue0K5Lx9/?ref=app

10th Jul 2021, 10:31 AM
Malick Diagne
Malick Diagne - avatar
2 Respuestas
+ 2
There are several problems Malick Diagne . The rightly code look ie like this: https://code.sololearn.com/WjiOb1zHv8f3/?ref=app
10th Jul 2021, 12:27 PM
JaScript
JaScript - avatar
0
You assign to the variable "el" a non-existent tag <p class = "prompt"> – (var el = document.querySelector("p.prompt");) and, accordingly, you try to output the text to a nonexistent tag – (el.innerHTML = "Website published! ";)
10th Jul 2021, 11:29 AM
Solo
Solo - avatar