
One of the biggest changes in the second edition of the textbook will be the significantly expanded coverage of JavaScript. The first edition (which we wrote in 2013) had one chapter on JavaScript and another chapter on jQuery. In the new edition, there will at least three chapters (and most likely four) on JavaScript. We have recently completed the first draft of two of these new chapters. You can find an outline of the chapter topics below.
Chapter 8 – JavaScript Language Fundamentals
- What is JavaScript and what can it do
- Where does JavaScript go?
- Variables and Data Types
- JavaScript Output
- Conditions
- Loops
- Arrays
- Objects
- Functions
- Object Prototypes
This is a lot of content for one chapter. Indeed, in comparison to drafts of other chapters in the (first edition) book, this is the longest of them all. It is currently over 70 pages!
Chapter 9 – Using Javascript
- The Document Object Model
- Modifying the DOM
- Events
- Event Types
- Forms
Below, you find a few preview images from Chapter 8.