Browsed by
Month: November 2020

JavaScript Variables

JavaScript Variables

Summary: in this tutorial, you will learn about JavaScript variables and how to to declare the variables in JavaScript. JavaScript Variables A variable is a container/box for storing data values. You give variable a name, then give it a value. When you call or use that name it will return what it has inside of it. Create a variable To create a variable in JavaScript we use the keyword var like so: a) the var is a JavaScript keyword b)…

Read More Read More

JavaScript Comments

JavaScript Comments

Summary: In this tutorial, you will learn about JavaScript comments and how to use them. What is JavaScript comments? Commenting is a common task that we do always in programming.Commenting is a way to leave notes to: yourself (future self) other people (developers who have to figure out your code) make a JavaScript code inactive JavaScript single line comment To create a single line comment in JavaScript you write // Using // will tell JavaScript to ignore the remainder of…

Read More Read More