Came here to say the same thing. I learned by looking at the source of every other website, before there was minimization, obfuscation, or anything else preventing one from seeing the entirety of the sites code. A few books and websites definitely helped as well.