Updated Articles and Resources

Recent Articles in: JavaScript
Woman working from home using laptop at table - Johnny Greig/E+/Getty Images
JavaScript Decision Making - If and Switch/Case Statements
JavaScript has two ways it can make decisions on what code to run. The more commonly used way is to use if statements but switch statements also have their uses.
Javascript code - Tor Lindqvist/E+/Getty Images
Should You Have a Shorter IF Statement?
When you are assigning different values to a single field depending on a condition, JavaScript provides a way to combine the decision into the assignment.
Guide's Date and Time Scripts
Your guide has written a number of Javascripts that can be easily added to any site to add date and time or timer displays. Just follow the supplied instructions to install the script. No programming experience is required.
JavaScript By Example - Object Oriented
JavaScript is a prototyping language rather than an object oriented one. It doesn't have classes, just objects and new objects are created from existing ones. While you can write your JavaScript in a standard object oriented way, there are often more effective ways to make use of the prototyping basis of the language.
JavaScript By Example - Using Functions
These examples show you some of the ways that you can use functions in your JavaScript.
JavaScript By Example - Error Handling
We don't need to allow JavaScript to crash when it finds an error, we can catch the error and handle it within our code. We can also create our own errors with more meaningful messages than the ones JavaScript uses.
Script Libraries
There are a number of sites that have a selection of pre-built Javascripts available for you to copy and use on your site. Some are better than others. These reviews will help you to work out which libraries are worth using.
JavaScript Books
Whether you are a beginner to programming or an experienced programmer who is just new to JavaScript there is a book or three to help you learn (if you prefer something printed to online learning through this site). There are also some useful reference books.
JavaScript By Example - Cookies
The only way to keep information relating to a site without passing it from page to page to page is to use a cookie. A cookie is also the only way to keep information between browser sessions.
JavaScript Variables and Operators
For those who are completely new to JavaScript rather than just trying to upgrade their JavaScript to use more modern coding methods, this series of tutorials will serve to introduce the concepts of variables and operators.
Decision Making
For those who are completely new to JavaScript rather than just trying to upgrade their JavaScript to use more modern coding methods, this series of tutorials will serve to introduce the concepts of boolean variables, logic, and the if and switch statements that allow JavaScript to make decisions.
3. Functions
An introduction to using functions with JavaScript.
Guide's Javascript Games
Your guide has written a number of Games that can be easily added to any site. Just follow the supplied instructions to install the script. No programming experience is required.
More Scripts Written by Your About Guide
Your guide has written a number of Javascripts that can be easily added to any site. Just follow the supplied instructions to install the script. No programming experience is required.
Other Javascript Libraries
There are a number of Javascript libraries on the web where you can go to obtain scripts written by others. These libraries contain hundreds (if not thousands) of pre-built Javascripts that you are free to use on your site. I am gradually reviewing them so that you will know what to watch out for when you visit them.
Javascript Libraries
Javascript Libraries provide pre-written add-on functionality that makes writing your scripts easier in return for the overhead of having what could be a large library that always needs to be downloaded along with your web page. How practical they are depends on how much of the functionality that you use.
Menus
Make the navigation links on your page less obtrusive by using a menu.
Page Selection
These scripts will help you with displaying different pages to your visitors based on their browser setup or actions that they take.
Guide's Navigation Menu Scripts
Your guide has written a number of Menu Javascripts that can be easily added to any site. Just follow the supplied instructions to install the script. No programming experience is required.
Guide's Function Library
A collection of functions that you can use as a basis for building your own scripts so that you don't have to start from scratch.
Drop Down and Combo Box Navigation
A series of tutorials on different ways you can set up drop down selection lists and combo boxes for your site navigation.
Guide's Form Validation Scripts
A collection of functions that you can use to build up the validations that you require for your forms.
JavaScript By Example - Document Object Model
This is the part of JavaScript that allows the script to actually interact with the content of the web page itself. It works by mapping the tags and text within the page to nodes and nodelists accessible within the JavaScript.
JavaScript By Example - Browser Object Model
This is the part of JavaScript that does not have any standards - the part that interacts with your visitor's web browser. Here we look at things that do work across the various browsers and also at how to produce code that allows for the differences.
Businessman at his desk, working - Nullplus/E+/Getty Images
JavaScript Making Decisions
You can nest one IF statement inside another using JavaScript.
JavaScript By Example - Events
Much of the JavaScript in our web page will be run in response to events.
JavaScript By Example - Objects
These built-in objects will form the basis for most of the objects you create.
Guide's Calculator Scripts
Your guide has written a number of Calculator Javascripts that can be easily added to any site. Just follow the supplied instructions to install the script. No programming experience is required.
JavaScript By Example - Functions
These functions are built into JavaScript to make it easier (and in some cases possible) to perform those tasks.
Source Protection
You can't do anything to protect your source code and images from anyone who knows how to bypass all of the "protection" but you can make it more difficult for those who don't.
View More