|
A few things you should knowOne of the best things about JavaScript is that you can do a great deal with very little programming. You don't need a fancy computer, you don't need any software other than a word processor and a Web browser, and you don't need access to a Web server; you can do all your work right on your own computer. Even though it's simple to work with, JavaScript is a complete programming language, so as you learn more complicated JavaScript, you're also learning the basics of computer programming. If you want to move on to other programming languages, like Perl, C, C++, or Java, JavaScript is a great introduction. As you learn JavaScript, you'll discover that much of it is very logical and easy to figure out when you think about it carefully. There are however a few features of JavaScript that can be a little confusing and simply must be memorized. Here's a few of the most important ones.
I encourage you to look at the JavaScript that's contained in many of the pages of this course. Just use your browser's View Source menu command to see it. It's also a good idea to look at the source code of any page that seems to be doing something interesting with JavaScript. It's the best way to learn. On occasion, there will be material that you encounter in the examples that hasn't been covered in the course yet. This is necessary in order to create interesting examples. When I include techniques that haven't been explained yet, I'll point it out so you don't end up wasting a bunch of time trying to figure them out. |