After having had a introduction to programming I found solving coding challenges more effective than anything.
You learn basics of algorithms and syntax while being motivated by your ego to conquer it.
I suggest doing hackerank challenges as they have nice point system where your efforts become more tangible.