Don't do the comparing thing, it only hurts your feelings. Like a pianist diligently practising scales only to give up when they hear Chopin.
I was stuck in the same cycle for a long while re-learning the same things every night. My best pieces of advice would be:-
1)Build increasingly bigger projects that work, are useful and go in some kind of portfolio - this demonstrates your progress when you feel overwhelmed. Much better than churning through a pile of tutorials and exercises.
2)Try tutorials that force independent problem solving - Like Udacity.com. More "find a way to", less "type this out"
3)Get good at noticing when & why you are stuck. Write down things you hear that don't make sense and look them up, ask online/forums etc. Write down what you tried. You can still make progress when stuck. If you're working on a project and you hit a wall - your job is to stop coding and research.
The fact that you keep trying says you're obviously willing to stick at it!