Haeglo (9)

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...

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...

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...

JavaScript Tutorial #1 - Intro To Javascript

JavaScript is a powerful programming language that allows you to add dynamic and interactive elements to your website. In this tutorial, we will focus on how to use JavaScript to create outputs, such as text and graphics, on your web page. A quick way to…

Continue reading...