Chapter 13 - Modules: breaking a program into pieces
Click the title to see the listing, solutions to exercises and video tutorials on this site. Click the JS Bin code to see the live listing on JS Bin.
Listing | Title | JS Bin Code |
---|---|---|
- | The 'between' function as a file to load | qezoce |
13.01 13.02 |
Loading JavaScript with a script tag | lifugam |
13.03 13.04 |
Picking a question at random | ponogi |
13.05 13.06 |
Using the Number Generator in the guessing game | tixina |
13.07 13.08 |
Using spacer and between in the guessing game | foqowa |
13.09 13.10 |
Importing Kallie's Code | zusodu |
13.11 | Kallie's formatting code | soxeke |
13.12 | Kallie's formatting code in a namespace | moheka |
13.13 13.14 |
Importing Kallie's namespace | seqahi |
13.15 | Random quiz questions with two global variables | ponogi |
13.16 | Using an IIFE with the quiz app | titano |
13.17 13.18 |
Importing modules for The Crypt | zikuta |
13.19 | The Player constructor as a module | nubijex |
13.20 | The Place constructor as a module | dofuci |