spacer
By John Pollock

JavaScript: A Beginner's Guide

spacer JavaScript is a client-side scripting language that allows you to add various features and effects to your web site (like image rollovers and alert messages) and which also allows you to perform useful tasks such as form validation. This book is written in a style that allows both those with and without programming experience to learn the basics of JavaScript coding.

The book has special features to help you grasp what you need to know in each chapter. Chapters begin with a set of critical skills, and include checkpoints along the way to test what you have covered. Also, there are projects that allow you to code scripts similar to those discussed in the chapter on your own and check your results in the browser or by looking at the downloadable code on this site. At the end of each chapter is a Mastery Check which asks you a few questions related to the content of the chapter, with answers in the appendix.

What the Book Covers

This book covers the basics of the JavaScript language and ends with a couple of chapters that briefly look at a few advanced techniques that a beginning JavaScript coder may encounter. Below is a listing of the chapters in the book:

  1. Introduction/What You Need to Get Started.
    Includes a brief introduction to the language and tells you what type of tools you will need in order to use JavaScript.

  2. Placing JavaScript in an HTML File.
    How to add the <SCRIPT></SCRIPT> tags to a page inline, and how to use external JavaScript files.

  3. Using Variables.
    Explains what a variable is, and shows how to use variables in JavaScript.

  4. Using Functions.
    Explains what a function is and how to use functions in JavaScript.

  5. Basic Operators.
    Covers the basic operators such as mathematical, assignment, and logical operators.

  6. Conditional Statements/Loops.
    Covers the use of conditional statements such as if/else and switch, as well as loops such as for and while.

  7. Event Handlers.
    Covers the basic event handlers such as onMouseOver and onClick.

  8. Objects.
    Explains how to create your own JavaScript objects, and how to use the properties and methods of the object you create.

  9. Document Object.
    Shows the properties and methods of the document object with examples on how to use them.

  10. Window Object.
    Shows the properties and methods of the window object with examples on how to use them.

  11. JavaScript Arrays.
    Explains what arrays are and shows how to use regular arrays and associative arrays.

  12. Math, Number, and Date Objects.
    Shows the properties and methods of the math, number, and date objects with examples on how to use them.

  13. Handling Strings.
    Discusses the basic string handling methods such as indexOf() and charAt().

  14. Working with Forms.
    Explains how to use JavaScript to access the contents of forms, and how to use form elements for web site navigation.

  15. Working with Frames.
    Explains how to use JavaScript to access different frames, how to store and use information in a frame, and how to change multiple frames at the same time.

  16. An Introduction to Advanced Techniques.
    Shows techniques for debugging scripts, rollover scripts, and covers the basics of regular expressions and cookies.

Downloadable Code   Corrections   Where to Purchase
Desktop Stuff   Book Home Page   Osborne Site


Main Page  |  HTML  |  JavaScript  |  Graphics  |  DHTML/Style Sheets  |  ASP/PHP
PutWeb/FTP  |  CGI/Perl  |  Promotion  |  Java  |  Design Articles
Support Forums  |  Site Search  |  FAQs  |  Privacy  |  Contact

Copyright © 1997-2007 The Web Design Resource. All rights reserved.

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.