You may have gotten errors when you tried to run scripts
in the previous examples. Generally, errors appear not because the script
is not very forgiving. It has to be written exactly right.
errors usually mean that the code is written wrong in some way. For instance,
you may have misspelled a word in the code or left a variable undefined.
Runtime Errors, on the other hand, mean that the script is broken somewhere.
It may be that a command isn't all the way on the left hand side of the page,
or it may be because you've accidentally added space between lines of code
Finding errors isn't that difficult. Browsers will popup a box that tells
you there is an error, and in most cases, will even tell you what line that
error is on. Simply count down the lines from the top of your document, and
include blank lines when counting to find your errors. You may even see multiple
errors at one time on that error popup. If this is the case, start at the
top and fix each error as you find it, and then run the script again after
each fix. Often, one fix will correct numerous errors.
The Basics of
Variables and Arrays
Functions and Methods
Math Object Reference
Date Object Reference
Web Development Tutorials
Sheets Tutorial: An Introduction to Cascading Style Sheets
Development: A step by step guide to developing a successful Internet
Codes Chart: Copy and paste HTML codes for your web page
Copy and paste special effect HTML codes for your web page
Tips: Tips, tricks, and special effect codes for your web page
Web Safe Color Chart: Hexadecimal and RGB Color Codes for your web page
Codes Chart: American Standard Code for Information
Interchange character codes chart