+ 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
4 Answers
+ 21
onload = function() {
//Whole code goes here...
}
+ 15
Like ValentinHacker said or, like this (they are the same essentially)
function aName() {
// the code
}
<body onload="aName()">
+ 3
thanks a lot đ
+ 3
now it is work
https://code.sololearn.com/WxXi6bM3SAGC/?ref=app