Browsed by
Tag: programming

JavaScript Functions

JavaScript Functions

Summary: In this tutorial, you’ll learn how to create a function in JavaScript and invoke/call it or start/make it work or activate it. What is a function? A function is like a machine 1 takes input2 processes it3 gives output If you are a visual person. Here’s a video. If you like reading. Below is the written version of the video. 1 Create a Function in JavaScript To create a function in JavaScript, use the word function Then give your…

Read More Read More

 104 total views

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