+ 1

Pls help

Why is the clicks heading not changing? https://code.sololearn.com/WW7M5sWyd2Nb/?ref=app

7th Sep 2022, 12:16 AM
MyNameIsNotBob
MyNameIsNotBob - avatar
1 Answer
+ 2
The heading is not changing because click() is a method of the Element object. You need to change the name of your click() https://www.w3schools.com/jsref/dom_obj_all.asp
7th Sep 2022, 3:59 AM
ODLNT
ODLNT - avatar