Basics

JavaScript Basics Part 3: Strings

A string is anything enclosed within quote marks – it can be made up of letters, numbers, and/or symbols. Strings will work with either single or double quotes. [js] “hello world”; ‘I have 5 pears’; [/js] When creating strings, there are often times when you will want to join one Read more…

Basics

JavaScript Basics Part 2: Comments

JavaScript comments are a way to keep your code clean and easy to read. Comments cannot be rendered because the browsers skip them. Most web designers are probably familiar with HTML comments, which are similar to JavaScript comments with the exception of the syntax. There are two types of comments Read more…

Basics

JavaScript Basics Part 1: Statements

The basic components of JavaScript programs are statements, variables, and types of data. A JavaScript statement is the most basic piece of JavaScript – which will represent a single action or step in the script that you are building. Many statements will represent a script, and they will always run Read more…