0

Why this showing error?

getComputedStyle method not working.... https://code.sololearn.com/WrhKA3hBNUf0/?ref=app

11th Dec 2022, 11:40 AM
RD:programmer
RD:programmer - avatar
3 Answers
+ 3
console.warn() does not seem to output anything. You could try console.log() instead.
12th Dec 2022, 1:10 PM
Lisa
Lisa - avatar
+ 3
The html is ot fully loaded when your js tries to find the htnl elements. You can put your js inside of window.onload = function() { // your js }
11th Dec 2022, 11:48 AM
Lisa
Lisa - avatar
0
Still not working friend!
12th Dec 2022, 1:07 PM
RD:programmer
RD:programmer - avatar