
![]() |
| Corresponding text on pages ix-4. |
Caution! In addition to some practice exercises, you will be given a few quizes. All quizes in the Javascript section will be "closed internet". You can find a jillion javascripts on the WWW to copy and paste into your html document. You probably know how to do that already. The goal of this class is to teach you to write javascript, not copy it. You will be allowed to use your book and my website during the quizes but will not be allowed to search the internet. You will be given a maximum of one class day to complete each quiz.
Javascript is technically called a scripting language which is really a weak programming language. The distinction between the two is often confusing. Both provide interactivity to the user. Scripting languages tend to be simpler with only a couple of options to the user. If they do this, this other thing happens. If you come back for Trimester 3 of this course, you will work on a pure programming language, Java. Java is not Javascript, but they have some similarities in that they use similar syntax(language of coding), and they are often used on webpages.
I chose Javascript as the scripting language for this class because you need no special tools, it is relatively easy to learn, and it is all over the World Wide Web. Much like Cascading Style Sheets, most scripts are inserted directly into the <head> portion of an HTML document. Occasionally you insert Javascript into the body of the HTML document and you can even set up "external javascripts" that your html document uses. In this class, we will focus on "internal javascripts", writing them right into the html document.