January 2018
Intermediate to advanced
678 pages
20h 16m
English
When learning a new programming language, your first program is supposed to simply print “Hello, world!” That’s the traditional Hello World program. Because the program’s task is so simple, the code is short and it gives the learner an opportunity to focus on the syntax basics and not get bogged down with too many details. With that said, your first JavaScript “program” is embedded in FIGURE 8.1’s Hello web page, which displays “Hello, world!” when the user clicks the button.
FIGURE 8.1 Initial display and what happens after the user clicks the button on the Hello web page
For the book’s web pages that use JavaScript, ...
Read now
Unlock full access