Try to make something that works in the real world as soon as you can (a web-page, a mobile app, a web-app, or whatever is most relevant to what you're learning).
Being able to create something that works - no matter how simple - can be a far stronger motivator that simply checking off a curriculum's requirements.