30 Steps that make Javascript fun to learn

  • Javascript Primers

  • Programmatically Trigger an Application Cache Download

    Rob Gravelle shows how to dynamically kick off an Application Cache download via a user action such as a button click.

  • Spy on JavaScript Methods Using the Jasmine Testing Framework

    In the Testing JavaScript Using the Jasmine Framework article, we learned how to test our JavaScript code using a JavaScript enabled browser and the Jasmine Testing Framework. In this article, we're going to move on to spying on our methods using mocks.

  • Accessing Private Functions in JavaScript: Nested Functions

    In the Accessing Private Functions in JavaScript article, Rob Gravelle presented a means of gaining access to an object or method's inner helper functions in order to be able to test them using a framework such as Jasmine. In today's follow up, Rob shows how to fetch nested functions using an iterative solution.

  • The JavaScript Diaries: Part 15

    With JavaScript you can display and manipulate the date and time. You can calculate the days between dates, show new items on your Web site, etc. In this installment we'll take a look at the JavaScript Date() object and learn how to utilize it in our scripts.

  • The JavaScript Diaries: Part 14

    This week we look at the Math object, a JavaScript object used to perform mathematical operations such as obtaining the values of predefined mathematical constants. It can also be used to generate random numbers.

  • The JavaScript Diaries: Part 13

    Now that we know about the different types of arrays, we'll learn how to manipulate them in order to make them more functional. This week we'll look at the properties and methods that are commonly used for most coding situations.

  • The JavaScript Diaries: Part 12

    This week we look at what happens with multidimensional and associative arrays. As you look at these you will start to understand where you can use JavaScript when building your Web sites.

  • The JavaScript Diaries: Part 11

    In this installment we take a look at JavaScript arrays, which can be very useful in creating different types of scripts. This study will span several installments due to its complexity.

  • The JavaScript Diaries: Part 10

    In this installment of the JavaScript Diaries, we'll look at objects, their related properties and methods. We'll delve deeper into them when we use them later in our study.

  • The JavaScript Diaries: Part 9

    In our last two sections we looked at properties and methods of the window object. In this installment, we'll wrap up our study of the window object by learning how to use the most common of the window event handlers. We'll also take a look at some links for additional help.

  • The JavaScript Diaries: Part 8

    In this installment we look at the methods that are associated with the window object and how they work. Until now, we've been learning how to build the framework of our scripts but now we'll start to see things happen! Using these methods you'll learn how to implement JavaScript in your Web sites.

  • The JavaScript Diaries: Part 7

    In our last installment we looked at how to create custom-made objects using the Object() constructor. This week, we continue that study by taking a look at browser-based objects.

  • The JavaScript Diaries: Part 6

    This week we go a little deeper into our study, a process that will last for several weeks. Some of the topics covered are JavaScript objects, object properties and methods, the constructor function, and more.

  • The JavaScript Diaries: Part 5

    This week, as we continue our quest to learn the JavaScript language, we'll look at conditional statements and loops. These can help us to add more depth and complexity to our scripts.

  • The JavaScript Diaries: Part 4

    In this section of the JavaScript Diaries, we'll look at JavaScript functions. These help us to write more intricate programs. A sampling of topics includes writing functions, naming rules, calling a function, global and local variables and more.

  • The JavaScript Diaries: Part 3

    This week we take a look at JavaScript operators, which are used to accomplish many different tasks. Some of the topics covered are mathematical operators, comparison operators, assignment operators, logical (boolean) operators and much more.

  • The JavaScript Diaries: Part 2

    In the first installment, we looked at some general information and guidelines to help prepare us for our study of JavaScript (be sure to check your answers to the review questions). In this section, we'll begin to delve into parts of the language and we'll also write our first script.

  • The JavaScript Diaries: Part 1

    JavaScript is a versatile language--it can be used to create menus, validate forms, provide interactive calendars, post the current day's headlines and track a visitor's history on your site, among other things. This series will introduce you to JavaScript through my own experiences--we will learn it together!

  • Javascript Basics Part 13

    Browser compatibility is one of the biggest issues facing web developers, and has been since the original browser wars. This article is going to highlight browser compatibility issues and tell you how to avoid or simply deal with them.

  • Javascript Basics Part 12

    'To understand recursion you must first understand recursion'. That is my favorite quote related to programming because it so beautifully captures what recursion is. This article takes you further into the concept of recursion and shows you how it is used in JavaScript.

  • Javascript Basics Part 11

    You have written a JavaScript application and it's working fine--until you get an error message. It's something unsightly that pops up on your screen, something like 'myObject.fields is null or not an object'. What on earth does this mean? This article is going to show you how to account for errors and show you several different methods for general error handling.

  • Javascript Basics Part 10

    You've probably heard the term 'AJAX' thrown around recently. Over the past year or so, AJAX-style JavaScript has become increasingly popular among many developers. In this 10th article in our JavaScript Basics series, we will introduce you to AJAX and show you how you can use this technology!

  • Javascript Basics Part 9

    Our last article in this series covered the basics of object-oriented programming in JavaScript. This article is going to continue on that path, teaching you methods of inheritance as well as the usefulness (and dangers) of closures.

  • Javascript Basics Part 8

    Almost every modern programming language has some method of writing Object Oriented (OO) code. If you are familiar with C, Java, VB, php or any similiar language, you are probably familiar with the Class structure of those languages. In this article, we'll take a look at Object Oriented Design and how it relates to the JavaScript programming language.

  • Javascript Basics Part 7

    In previous articles you have seen the document object in use. We have used document.forms, document.getElementById, document.createElement and several other functions that are built into the document object. In this article we will thoroughly examine the document object and the window object, both of which offer many useful functions.

  • Javascript Basics Part 6

    This is the sixth in a series that will introduce you to the JavaScript language. In this article we will be talking about the Document Object Model or DOM for short.

  • Javascript Basics Part 5

    Up until now we have been focusing on the language constructs of JavaScript: if statements, loops, functions, etc. In this primer we are going to take a step back and cover the inner workings of some of the native JavaScript objects: Strings, Numbers and Arrays.

  • Javascript Basics Part 4

    In the last article, we covered the basics on how to work with form fields and delved into functions a bit more. In this article we will fully explain functions and introduce the concepts of objects in JavaScript.

  • Javascript Basics Part 3

    In the last article we covered if-else statements, some basic validation and functions. This time we'll discuss how to use JavaScript to validate a form on your page, and we'll learn about form fields and loops in the process!

  • JavaScript Basics Part 2

    In the last article, we wrote a simple script that involved variables, alerts, prompts, string concatenation and some basic arithmatic operators. In this week's installment, we learn all about the 'if' and 'else' statements.

  • JavaScript Basics Part 1

    This new JavaScript Primer is the first in a series of articles by our new author Mark Kahn. This article explains what JavaScript is, and shows you how to create your first script!

  • JavaScript Primers #1

    Starting with the Basics

  • JavaScript Primers #10

    After-Effect Commands: onUnLoad and onMouseOut

  • JavaScript Primers #11

    Opening New Windows

  • JavaScript Primers #12

    Opening a Window with a Function

  • JavaScript Primers #13

    'Confirm' Method (Intro to IF and ELSE)

  • JavaScript Primers #14

    Math Variables

  • JavaScript Primers #15

    Image Flip Using OnMouseOver

  • JavaScript Primers #16

    Image Flip With A Function

  • JavaScript Primers #17

    Calling Functions With Forms

  • JavaScript Primers #18

    Form Fields and the Value Property

  • JavaScript Primers #19

    Passing Information to the Function

  • JavaScript Primers #2

    Error Messages

  • JavaScript Primers #20

    Creating Random Numbers

  • JavaScript Primers #21

    Introduction to IF and Branching

  • JavaScript Primers #22

    IF/ELSE Statements

  • JavaScript Primers #23

    Producing Random Statements and Images

  • JavaScript Primers #24

    'For' Loops

  • JavaScript Primers #25

    'While' Loops

  • JavaScript Primers #27

    Putting it all together: A Side Show

  • JavaScript Primers #28

    Putting it all together: Animation

  • JavaScript Primers #29

    Putting it all together: Form Field Validation

  • JavaScript Primers #3

    Dates and Times

  • JavaScript Primers #30

    So, Now What?

  • JavaScript Primers #4

    Event Handlers: onMouseover

  • JavaScript Primers #5

    Some more Event Handlers

  • JavaScript Primers #6

    Prompts & Variables

  • JavaScript Primers #7

    The Concept of Properties

  • JavaScript Primers #8

    Hierarchy of Objects

  • JavaScript Primers #8 A ???

     

  • JavaScript Primers #9

    Creating a Function

  • JavaScript Primers - Introduction

    The JavaScript Primers

  • JavaScript Primers - Table of Contents

    30 Steps that make JavaScripting fun to learn!

  • JavaScript Primers#26

    Putting it all together: Functions from a Function

  • Web Development Newsletter Signup

    Invalid email
    You have successfuly registered to our newsletter.
  •