|
|
|
|
|
by mediumsmart
941 days ago
|
|
They should teach one thing to solve in JavaScript (cannot be done in css, useful without impacting accessibility). Code must pass jslint.com with no warnings. And all the things used like loops and branching should be explained with a few examples. And you don’t tell them about the other ways to do the same thing. You tell them the one way that uses spaces, double quotes, i+1 and === (they’ll find out about all the wrong ways on their own later). And obviously no Dom shenanigans in these initial lessons. People must solve something and understand how they did it so they feel good. It’s very easy to teach and nobody does it like this. So people get scared and want typing and OO classes for their this.JavaScript later. |
|