Wednesday , 17 January 2018
Home / Tag Archives: learn (page 9)

Tag Archives: learn

Objects – JavaScript Tutorial


Object oriented programming is a topic for intermediate programmers. It can be a very confusing and discouraging topic. JavaScript utilizes objects often so learning about OOP (object oriented programming) early is important. I won’t be going in depth in OOP until later tutorials, but for now, I’ll be covering the basics and what you need to know. What are Objects? …

Read More »

Manipulating Loops – JavaScript Tutorial

Manipulating Loops

There will be a time where you’ll want to break out of a loop early or skip an iteration. Manipulating loops is possible in JavaScript. It’s actually very easy to do with conditional statements. Let’s clear our script and update our code to this. [crayon-5a5f4613deac7347251476/] Manipulating Loops This is the exact example we used in our while loop tutorial. Let’s …

Read More »

Do While Loop – JavaScript Tutorial

Do While Loop

A do while loop is a special kind of loop. It’s a variation of the while loop, but with a special addition. Let’s learn how to use a do while loop. Creating A Do While Loop Clear your script and update your code to this. [crayon-5a5f4613df07b911827351/] You’ll notice everything is the same in our last tutorial, except our loop is …

Read More »

While Loop – JavaScript Tutorial

While Loop

We’ll be continuing with loops by learning about the while loop. The while loop is another way of looping through a block of code while a certain condition is true. Before we get started, let’s talk about iterations for a second Iterations An iteration is the technical term for a process that repeats itself. In the programming world, every time …

Read More »

Logical Operators – JavaScript Tutorial

Logical Operators

In this tutorial, we’ll be discussing what logical operators are. Logical operators allow you to define multiple conditions in one conditional statement. Let’s see how to do this. Using Logical Operators Clear your script and add this bit of code. [crayon-5a5f4613dfa7f194294386/] Let’s focus on the if statement here. You’ll notice we have a && also known as a double ampersand. …

Read More »

Conditional Statements – JavaScript Tutorial

Conditional Statements

In this tutorial, we’re going to discuss what conditional statements are. In certain situations, you may want to perform some checks and respond accordingly. Let’s take a look at how to do this. Using Conditional Statements Conditional Statements are pretty easy to use. Clear your script and insert this bit of code. [crayon-5a5f4613e0051610411745/] Let’s see what happens by opening our …

Read More »

Operators – JavaScript Tutorial


Operators allow you to tell your script exactly how a piece of data should interact with another piece of data. For example, if you wanted to add 2 pieces of data, then you would use the plus sign ( + ) operator. Here’s how that would look like. [crayon-5a5f4613e0613176033777/] There are many kinds of operators such as math operators, assignment …

Read More »

Parameters and Returns – JavaScript Tutorial

Parameters and Returns

Today, we’ll be discussing what parameters and returns are. You’ll learn how to make your functions more robust and flexible by learning these 2 simple concepts. Before we begin, get rid of your button as we won’t need it anymore. Clear out your script as well. Using Function Parameters Parameters allow you to pass in more information to your function. …

Read More »

Functions – JavaScript Tutorial


Functions are blocks of code that run when you call it. There are 2 kinds of functions. There are predefined functions which are functions that JavaScript has already created for you. We’ve seen an example of this with the alert() function. Functions take care most of the work and we can call them as many times as we want without …

Read More »

Getting Started – JavaScript Basics Tutorial

Getting Started

JavaScript powers millions of sites worldwide everyday. Even this site utilizes JavaScript. JavaScript allows interaction between the user and the browser. JavaScript can also be used outside of the web. Not many know this, but you can also use JavaScript for server side programming and for creating apps! If you’re looking for a JavaScript tutorial, then you found it! This …

Read More »
Want to learn how to create web applications with Node.js and SQL? Check out my course!
Get 93% off my course. You'll also learn how to build real world applications using Node and SQL. This is a limited time offer
Yes, I would like to get 93% off your course!
No Thanks!