+ 1

Can't use Window.onload=()=>{//your code go here} on my laptop visual studio

Need serious help pls

5th Apr 2022, 3:40 PM
Martins Michael
Martins Michael - avatar
7 Answers
+ 1
If you are using inline script Try writing JavaScript code in body section Before the end of body tag . . . <!-- Your JavaScript code inside script tag --> < / body >
5th Apr 2022, 3:50 PM
Pariket Thakur
Pariket Thakur - avatar
+ 1
Still the same
5th Apr 2022, 4:02 PM
Martins Michael
Martins Michael - avatar
0
Copy the code and send it to me. (message me or send here)
5th Apr 2022, 4:05 PM
Arnav Gumber
Arnav Gumber - avatar
0
Copy the code, paste it on Sololearn code editor, save it and send here.
5th Apr 2022, 5:41 PM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar
- 1
Can't send on solo learn pls show example
5th Apr 2022, 3:42 PM
Martins Michael
Martins Michael - avatar
- 1
I'm using external script
5th Apr 2022, 3:57 PM
Martins Michael
Martins Michael - avatar
- 1
Here is the answer- Change "Window.onload" to "window.onload". It will help
5th Apr 2022, 4:00 PM
Arnav Gumber
Arnav Gumber - avatar