for Loops in JavaScript

You use for loops when you know how many times you need to repeat the loop. Often you will know how many times you need to repeat an action. Such as: the number of days in the year the number of items in an array the number of students in a class In these instances,…

Read More

Basic Syntax

Before we dive into how to do things in JavaScript – let’s go over some of the basic syntax. What is syntax? Syntax is what grammar is to speaking a language. It tells you how to structure a sentence, what kind of punctuation to use, when to capitalize and things like that. Every programming language…

Read More