0
Why this showing error?
getComputedStyle method not working.... https://code.sololearn.com/WrhKA3hBNUf0/?ref=app
3 Answers
+ 3
console.warn() does not seem to output anything. You could try console.log() instead.
+ 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
}
0
Still not working friend!