When I type this sololearn crashes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

When I type this sololearn crashes

Every time I type this code "window.onload = alert('You are a beta te" it crashes in cookie clicker beta. Also when I make a new line at the beginning it crashes too.

3rd Feb 2017, 1:40 PM
koder
koder  - avatar
1 Answer
+ 4
You have to write following: window.onload = function () { alert("You are a beta te"); }
12th Feb 2017, 8:54 PM
Patrick G.
Patrick G. - avatar