Listing of all examples:
- Example 1 - (run it! | index.html) - Manipulating DOM Elements with JavaScript
- Example 2 - (run it! | index.html) - Any HTML text can be set to innerHTML.
- Example 3 - (run it! | index.html) - createElement and appendChild.
- Example 4 - (run it! | index.html) - Generating elements from an array
- Example 5 - (run it! | index.html) - Adding a more complex DOM structure for posts
- Example 6 - (run it! | index.html) - Adding classes and styling posts
- Example 7 - (run it! | index.html) - Refactoring into functions
- Example 8 - (run it! | index.html) - Preparing for asynchronous data fetching
- Example 9 - (run it! | index.html) - Fetching a JSON file for posts
- Example 10 - (run it! | index.html) - Cleaning up
- Example 11 - (run it! | index.html) - CSS Media Queries
Feel free to use and modify for your own presentations! MIT License.
Curran Kelleher September 2014