+ 5

[SOLVED] Help!!

I need help again.. i fix one problem but the another still none.. where should i put the function drawName and let the code run well.. https://code.sololearn.com/W56hLK2fhDzU/?ref=app

17th Feb 2018, 12:42 PM
Baraa AB
Baraa AB - avatar
4 Answers
+ 21
onload = function() { //Whole code goes here... }
17th Feb 2018, 12:48 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
Like ValentinHacker said or, like this (they are the same essentially) function aName() { // the code } <body onload="aName()">
17th Feb 2018, 12:53 PM
jay
jay - avatar
+ 3
thanks a lot 💚
17th Feb 2018, 12:54 PM
Baraa AB
Baraa AB - avatar
17th Feb 2018, 12:54 PM
Baraa AB
Baraa AB - avatar