Agnieszka Niemiec6,528 Points
The code is not working
I wrote the same code as in the video and the button is not clickable.
Steven Parker182,603 Points
The "querySelectorAll" function returns an element collection, which is what you store in "p". But later in the event handler, you try to assign the "innerHTML" property of "p", which collections don't have.
If you use the "querySelector" function instead, it will select the first single element and the handler will work.