Can you tell me what is wrong with the code on line 1. if you do know pls change it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
xJAYOx
xJAYOx - avatar
4 Answers
+ 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
xJAYOx
xJAYOx - avatar
+ 1
Mirielle so how would i put it in a code?
22nd Jan 2021, 2:19 PM
xJAYOx
xJAYOx - avatar