Pat yourself on the back - you've made it to the end of this tutorial!
This tutorial has demonstrated what JavaScript is and how it works. We started with the basics - like how to turn JavaScript on and off in your browser. We then quickly moved on to the basic syntax of JavaScript. We learned that you can include JavaScript within your HTML page, or you can place it in an external file - the choice is yours.
We learned about some of the key concepts of JavaScript and that these concepts are pretty standard across most programming/scripting languages - concepts such as operators, variables and functions. We learned that intrinsic events enable you run a script in response to a user's action.
We covered some more of the standard programming concepts such as if statements, switch statements and loops.
We learned how to catch an error and present a friendly message back to the user (so as to not scare them off).
Among the advanced topics were cookies, which enable us to "remember" a user by writing and reading a file on their hard drive. We learned how to present the date and time in a nice format, then finished off with arrays - another standard programming concept.
No comments:
Post a Comment