![]() |
![]() |
![]() This module provides you with a hands-on introduction to JavaScript, a programming language that can be embedded directly in an HTML document and interpreted by your browser. We provide you with a simple JavaScript program that not only illustrates the language, but also serves as a medium for developing your own programming skills. |
![]() |
![]() |
||||||
|
|
||||||
Module Quiz |
![]() |
Print References |
---|---|
Every program that you have used - from your word processor1 to your web browser2 - had to be written in a programming language3. This text module provides you with a brief but realistic introduction to the process and the means by which programs4 are written. It does so in the context of the web-based programming language, JavaScript. |
1pp. 28–32, 48–50 2pp. 9, 14–15, 70–71, 143, 146 3pp. 16, 126, 218-220 4pp. 13, Mod. 2, 234, 273, 285 |
JavaScript5 is a relatively simple language that illustrates many traditional programming topics, including: basic data types6 and statements, control structures7, and subprograms. It has the added virtue of having been designed to work within and with HTML8 code. That is, JavaScript programs are written directly into the HTML9 that describes a Web10 page, and the language has features which allow programs to interact with the components of the pages. |
5pp. 126, 127, 139–196, 149 6pp. 151–152, 220-221, 7p. 222 8pp. 29, 70, 82, 89, 90-91 9pp. 29, 70, 82, 89, 90-91 10pp. 9, 14–15, 67–71 |
Modules 2 and 3 explored computer applications, local and global. Metaphorically speaking, using such programs is like being a guest at a dinner party-the meal had been chosen and prepared for you, and all you had to do was enjoy it. In Module 4 you designed pages of your own, and got a feeling for what it's like to host a dinner party. You chose what was to be presented, and how it was to be organized. In this module, we take you into the "electronic kitchen" and show you how to prepare the meal. At the end, you will have more than a cookbook knowledge of programming, and will be on the way toward knowing how to create recipes of your own. |
Search | Resources | Objectives | Feedback | Order Form | Credits | Print Book |
Copyright Notice
© 1998
PWS Publishing Company,
All Rights Reserved.