0

Error?

Why do I have this error? https://code.sololearn.com/WcenB4Yq25Tu/?ref=app Experts help

22nd Mar 2021, 1:00 PM
Удцдцддвщп Йдцлшаоплы
Удцдцддвщп Йдцлшаоплы - avatar
3 Antworten
+ 2
just remove '.' (dot) at postop and posdown (document.getElementsByClassName())and u good
22nd Mar 2021, 1:15 PM
durian
durian - avatar
+ 1
check your getElementsByClassName arguments: some have a dot at start of the string... you must only provide the class name... '.postop' should be used with querySelector/querySelectorAll...
22nd Mar 2021, 1:16 PM
visph
visph - avatar
+ 1
Lily Mea thank u very much
22nd Mar 2021, 1:16 PM
Удцдцддвщп Йдцлшаоплы
Удцдцддвщп Йдцлшаоплы - avatar