Chapter 2
HTML Files
wordStory.html
Enter words and read a funny story
alert.html
Using a simple form of output
input.html
Adding an input element
greet.html
Adding a function
greetName.html
Reading input from the input element
greetOutput.html
Writing directly to the page
greetStyle.html
Adding a stylesheet
greetExternJS.html
Moving to external JavaScript code
JavaScript Files
greet.js
Used in
greetExternJS.html
wordStory.js
JavaScript code for the final word story
CSS Files
form.css
CSS file for a basic two-column form
wordStory.css
CSS for the word story game
Image Files
madLib.png
Diagram for the word story game
File Download
download zip file for this chapter