JavaScript Tutorials (5)

Learn JavaScript by following along with our tutorials.

Haeglo

JavaScript Tutorial #5 - A Simple ToDo List

What We Cover Query Selector Events For Loops (learn more) Arrays (learn more) Functions In this tutorial we'll build a simple To-Do list. Once you've done a task on your list, simply click the task and watch it disappear. This is a fun little exercise…

Continue reading...
Haeglo

JavaScript Tutorial #4 - A Simple Calculator

What We Cover Math Operations Event Listeners Variables Functions Here's a simple JavaScript calculator app that allows the user to perform basic mathematical operations such as addition, subtraction, multiplication, and division. Below is the full code that we are planning on using. This will give…

Continue reading...
Haeglo

JavaScript Tutorial #3 - Variables

What We Cover What is a variable? Naming A Variable When to use const, let, and var when declaring a variable What Is A Variable? In JavaScript, a variable is a named container that stores a value. Variables are used to store data that can…

Continue reading...
Haeglo

JavaScript Tutorial #2 - Output

What We Cover Logging out data to view in your console with a console.log() Writing data to an HTML document using document.write() Changing the contents of an HTML element using innerHTML Showing an Alert box using window.alert() Console.log() the console.log function is a very useful tool…

Continue reading...