• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Summary

During this hour, you wrote a simple JavaScript program and tested it using a browser. You learned the tools you need to work with JavaScript—basically, an editor and a browser. You also learned how to modify and test scripts, and what happens when a JavaScript program runs into an error. Finally, you learned how to hide JavaScript from older browsers.

In the process of writing this script, you have used some of JavaScript's basic features: variables, the document.write statement, and functions for working with dates and times. You'll learn more about all of these features in the remaining hours of this book.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint