Useful books. The first is online and free (the other two are as well, somewhere):
Solve toy problems to solidify knowledge of methods and syntax:
Good material- lots of video and problems. Not free but worth it:
https://www.codeschool.com/ (makers of the jQuery videos below)
Bootstrap - popular front-end framework:
Actually build something! A To Do List, a website, a game.
See some different frameworks do the same things:
Here is a good free node tutorial:
Some tracks to learn, and get connected with non-profits to make useful things:
Contributing to open source projects is another route.