0
Showing ~ getElementByClassName is not a function. what is this? gow to solve??
2 Réponses
+ 4
It's `elements` not `element`. You are missing 's'. It's plural because the method does not return a single HTMLElement it returns an array-like object containing one or more elements.
+ 2
Oh right.. thanks