If you want to learn something, make a game with it. That's what I tell my students and it still works for me.
Last year I started out to learn web development (i.e., HTML, CSS, PHP, JavaScript, all of which I had zero to little knowledge of). To do so in a playful manner, I created this little browser-quizgame, toghether with the possibility to create your own quizzes. Enjoy! ;)