+ 1
I have error line 9. Thanks you
I want to change p with class prompt. https://code.sololearn.com/WSB0ue0K5Lx9/?ref=app
2 Réponses
+ 2
There are several problems Malick Diagne . The rightly code look ie like this:
https://code.sololearn.com/WjiOb1zHv8f3/?ref=app
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! ";)