I remember doing a tutorial from a computer magazine in the 90s. The article was presenting the basic features like for, while, if... So I thought wow, now I can program stuff in the web browser. The tutorial was then starting with hands-on code, like
document.writeln("Hello world!");
Seems quite a natural thing to do when coming from other languages. But after playing around with it for an afternoon, I came to the conclusion: that's too difficult, I rather spend my time on something else. (If I remember correctly, at that time I was comfortable with Basic and had a little exposure to C++ and Pascal)