More Tips, cont.
- Take small steps. Test your program each time you make a small addition or modification. Back up working versions of a script, so that if difficult errors creep in you can easily go back a step.
- If the browser doesn't seem to be responding to your changes, make sure your files are in sync. Did you save a backup to a different folder, then make changes and forget to save the new version out to the original name? I hate it when that happens.
- Finally, add debugging statements. These are statements that tell you what is happening inside the program, what the variables are at different times, and so on. They can be invaluably helpful. Note which lines are debugging statements so you can find and remove them easily when the program works.
Heidi Brumbaugh has been a writer and editor in the computer publishing industry for ten years. Feel free to visit her home page.
Web Developer® Site Feedback
Copyright © 2000 internet.com Corporation. All rights reserved.