All the JavaScript tutorials โคต๏ธ
-
Getting Started with JavaScript Switch Case: A Beginner's Guide
Beginner-friendly guide covers the basics of the switch case statement in JavaScript, including its syntax and how to use it in place of a long if-else chain
-
JavaScript Scopes
Information about the scope of the JavaScript defined variable, object or function, local variables, global variables and hoisting.
-
Javascript Objects
I used a car analogy to explain JavaScript objects. You get a clear breakdown of properties and methods without any abstract theory.
-
Javascript Functions
Creating, calling, returning value, and using the function or function structure used while developing with JavaScript are included with function examples.
-
Javascript Variables
Javascript variable definition and rules, variable types, variable assignment and merging operations.
-
Javascript Comments
Single and multi-line JavaScript comments explain code and disable execution. I show you the syntax for both types with simple examples.
-
Basic rules of Javascript
I break down JavaScript basics like variables, operators, and syntax. You get concrete rules for writing valid code without guessing the structure.
-
How to print Javascript
Print to HTML, the console, or an alert window. I cover the differences between innerHTML, document.write, alert, and console.log so you pick the right tool.
-
How to run Javascript
Three ways to add JavaScript to your HTML page: inline, event handlers, and external files. See the exact code snippets for each method.