0

Uncaught ReferencedError: section is not defined

Need help can't figure it out why I'm getting this error https://code.sololearn.com/W1150PCJznFV/?ref=app

26th Aug 2020, 4:08 PM
Pawan
Pawan - avatar
1 ответ
+ 6
You cannot access Html Element directly in javascript, u need to target that element and store it in some sort of variable Like: let section = document.querySelector("section")
26th Aug 2020, 4:11 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar