Are you asking because you're curious/looking to do the same or because you think that it will help find answers?
Good places to learn are things like the Rails tutorial on their website, the Ruby koans, or the Doug Crockford book about JS, frontendmasters.com. Treehouse was also helpful for learning the basics of CSS but I didn't love the cartoonish story around the lessons.
Above all, find a problem you have and think about how you could solve it with technology I would say, it will let you put into practice what you're learning and guide your direction by researching the things you're stuck on.