+ 1

Can you tell me what is wrong with the code on line 1. if you do know pls change it

$(window).on("load"),function(){ setTimeout(function() {$('.done').addClass("drawn");},500) }

22nd Jan 2021, 2:13 PM
Jordan Kinney
Jordan Kinney - avatar
4 Respostas
+ 3
$(window).on("load",function(){...})
22nd Jan 2021, 2:23 PM
Med Amine Fh
Med Amine Fh - avatar
+ 2
Why the closing parathesis after "load" on line 1? It should be on the last line after '}'.
22nd Jan 2021, 2:24 PM
XXX
XXX - avatar
+ 2
Med Amine Fh Mirielle XXX Thank you for helping me
22nd Jan 2021, 2:24 PM
Jordan Kinney
Jordan Kinney - avatar
+ 1
Mirielle so how would i put it in a code?
22nd Jan 2021, 2:19 PM
Jordan Kinney
Jordan Kinney - avatar