It a matter of collective synergy of brains and thinking by the vastly experience engineers that results to the wonder u see.
Books are hard particalarly technical and programming books thats why u cant get the knowledge from book. #imho
Learn the fundamentals, then work on hard problems. Hang out with as many really smart people - also working on hard problems - as you can. Read obsessively. Experiment and don't be afraid to fail from time to time.
Learn core javascript without framework. Follow trends in html5 and css3. Dnt 4get to use other js framework like mootools yui dojo etc. Be creative and look at trending website to get inspiration