This could be a bit late and/ or worthless.
People learn things in different ways. The only teachers I had were tutorials and the guys on this forum (these guys are the best).
I had no computer skills and wanted to build a program. I had to learn html, php, and mysql. I was originally thinking it would take me 3 months, but nothing would click. I just couldn't see how things worked and get the picture in my head. It took 5 years to build that project.
What I'm saying is "don't give up". When I first started out I struggled to find a beginners tutorial that would tell me what a text editor was. Many people that think they can teach take things for granted. The things they leave out are possibly the things you need to find for yourself for it to all come together.
I found one of the best ways for me to learn was to get a script and look at how it worked.
We all learn and think different or there wouldn't be any need for more than one of us. You could turn out to be one of the best coders out there, it just hasn't clicked for you yet, give it time.
It wasn't that long ago I couldn't get my head around css. With the help of the guys here the penny finally dropped.