Hands-on JavaScript
Workshop Examples
The idea here is that you gain an understanding of how JavaScript is incorporated into Web pages; learn the basics of how to use variables, functions (sub-routines), control structures (if...then); and gain some insight into the object-based syntax of JavaScript. This degree of knowledge is necessary to know enough to import and customize available code as well as to begin creating your own JavaScript.
- Text editor
- We will be using either Notepad or Wordpad (Windows) or Simple Text (Mac), however any text editor or word processor will do, as long as you save the file as text only
- We will be saving the sample page as "js.html" - remember where you save it.
Web browser
Use either Netscape Navigator, version 2 or higher, or Internet Explorer, version 4 or higher.
After making changes, hit reload on your browser to see changes. If you're still seeing your old page, force a non-cached retrieval by holding down the shift key (on Macs, the option key) while you hit reload
Creating practice page
Open text editor
Open Web browser
Create sample page, follow instructor's directions and examples
[If all this is already familiar to you - or if you get hopelessly lost - , move on to the code page.]