Answer the question
In order to leave comments, you need to log in
Why doesn't getElementByClassName work?
Hello. And now it's time to face a ridiculous problem. Can't get element by getElementByClassName. I just have no idea why... I tried all the selectors, nothing helps. Apparently it's not so easy to get an element from the DOM?
Gives this error:
document.getElementByClassName is not a function
https://jsfiddle.net/90tq6awh/5/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question