Ask HN: Learn JavaScript from actual websites?
Is there a resource that walks through the end-to-end code of actual websites to help teach Javascript? I am almost through the Codecademy courses on HTML/CSS/JS/Jquery and I still have trouble understanding what is happening, or how something is achieved, just by checking out a page's source.
If there was a JS teaching framework that picked apart the code of several actual websites, I would be interested.
Thanks!
6 comments
[ 1.1 ms ] story [ 24.2 ms ] threadAs you wrap your head around 'what is happening' as you put it, you can start to combine what you see to make new creations of your own.
For the basic timeline of when things happen, research how a website is rendered. Here's some info to get you started: http://frontendbabel.info/articles/webpage-rendering-101/
- http://backbonejs.org/docs/backbone.html
- http://underscorejs.org/docs/underscore.html
- http://marionettejs.com/annotated-src/backbone.marionette
Your suggestion and the other commenters' are great - thanks!