Firstly, this chapter discussed how to incorperate JavaScript into an HTML page. With JavaScript you can add things like-Scrolling messages, pop-up windows, interative quizzes, etc. An inportant thing to remember when putting JS into HTML you have to remember to specify the language any time you use JS. The tags are (SCRIPT LANGUAGE="JavaScript">/SCRIPT) (note: I had to omit the <> brackets for these to appear on this page).
Second, lets talk a little about what Java uses. Java uses a number of different things to make it work. One of these is a thing called Cookies. Cookies are pieces of data that are sent and stored in files on the user's computer.Cookies are used for a number of different reasons. Next, are variables, which represent values in the script. Variables can be words, numbers, or combination. Last (that I will cover) is expressions and operators. Expressions are assigned values to variables. Operators are the symbols that expressions use to execute to expression.
Third, which I will briefly explain is using Objects. Objects are real-world things. Like cars, people, food, etc. The techniques used with objects and its programming is called Object Oriented Programming (OOP). Objects have properties. These properties can be color, size, physical descriptions, etc. to indicate a property of an object use the object name and then insert a period, then the property. Here is an example. chair.color="brown" Objects can also perform methods ( or actions) dog.run( ). Lastly, objec
Lastly, I will discuss Events. Events are actions that take place when the user clicks something or performs a certain action that is programmed into the script. When an event occurs it is called triggering. Such events can be like when you submit a form a box pops up to tell you thank you for submitting this form. Or, an event can be programmed to happen when the user clicks a link, etc.
This chapter also briefly discussed forms, frames and arrays, but there will be more explaination on those in chapters to come.