Browsed by
Author: Lia Sue Kim

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

 98 total views

JavaScript String length Property

JavaScript String length Property

Summary: In this tutorial you’ll learn how to use the .length property in JavaScript. Definition and Usage The length property returns the length of a string (number of characters). The length of an empty string is 0. Remember: Strings can be empty, a space or anything you can type on your keyboard. Example

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

Pure CSS Hamburger Menu – In 5 minutes.

Pure CSS Hamburger Menu – In 5 minutes.

Summary: In this video, you’ll learn how to build a CSS hamburger menu. Step 1 – HTML Boiler Plate Before we begin make sure you have a basic HTML boiler plate Step 2 – HTML <input> and <label> tags Inside your HTML file create an input with type of checkbox and label tags like so: Now What is connecting those 2 ?Well that’s ID attribute in the input field with the value of menu The for attribute in the label…

Read More Read More

Javascript Where To

Javascript Where To

Before you write any Javascript code, you need to know where to place/insert or write your Javascript code. On the web, Javascript codes live inside HTML files. There are 3 ways to insert your Javascript code in HTML. Inside <script> tags in the HTML’s <head> section Inside <script> tags in the HTML’s <body> section External Javascript file example.js ( .js is the file extension for Javascript files ) The <script> tag In HTML, Javascript code is inserted inside <script> and…

Read More Read More

Javascript Tutorial

Javascript Tutorial

Learn Javascript step by step by building projects. Introduction to Javascript What is Javascript? It’s a programming language. But… What is a programming language? A programming language is a way to tell/command computers to do something.Everything that we do on a computer, phones or any electronic device that has some sort of software. It’s created using a programming language. Computers by themselves don’t do anything. They are just programmed by human programmers and are waiting for the user to do…

Read More Read More