New course! Every coder should learn Generative AI!
Try a free lesson0
Why is getElementsById am illegal selector?
One of the questions in a challenge i played on this platform was the above and i was just wondering how it is illegal?
4 Answers
+ 3
You done a spelling mistake
It should be
getElementById
Not getElementsById
^
There is no s
+ 2
getElementById and getElementsById aren't the same :3
0
Nope. Its elements i just checked again
0
Ahh im stupid thanks guys