There are some projects written at the beginning of learning javascript. Some of them are referenced from others' work. If you start to learn javascript, you can complete these projects to enhance your understanding.
Some of these projects:
Tetris : a mini game named Tetris;
simple_2048 : a mini game named 2048;
CourseSystem : a class system, the back end is node.js;
GoBang : a chess game;
collision : collision test in canvas(HTML5)
gluttonous snake : a mini game;
MineSweeper : a mini game;