JavaScript Tutorial

Introduction
Advantages of JavaScript | Why should you learn JavaScript?
Where to write JavaScript and run JavaScript programs?
Outputs in JavaScript
Variables in JavaScript

• Var Keyword Javascript
• let keyword → for a variable with definite scope
• Javascript Const
Javascript identifiers
Javascript Data Types
JavaScript Operators

• Javascript Arithmetic Operators
• Javascript Assignment Operators
• Javascript Comparison Operators
• Javascript Logical Operators
• Bitwise Operators Javascript
JavaScript Comments
Javascript Functions

• Function expression Javascript
Arrow Functions Javascript
JavaScript Objects
How to execute the JavaScript program
Javascript Hoisting
Closures JavaScript
Shadowing JavaScript
Decision Making in JavaScript
Ternary operator JavaScript
Switch Statements JavaScript
Loop JavaScript

• For loop JavaScript
• While Loop Javascript
• Do While Loop Javascript
• Break Keyword Javascript
• Continue Keyword Javascript
• For Loop Javascript
• For in Loop Javascript
String in Javascript

1. JavaScript String Methods

â–ª Javascript String Indexof() Method
â–ª JavaScript String lastIndexOf() Method
â–ª Javascript String Search Method
â–ª Javascript String Slice Method
â–ª Javascript String Substring Method
â–ª Javascript String Uppercase() Method
â–ª String to Lowercase Javascript
â–ª Javascript String Trim
â–ª JavaScript String charAt () method
Events in Javascript

â–ª Onclick Event In Javascript
â–ª Onpaste event in Javascript
â–ª Oncopy Event In Javascript
â–ª Ondblclick Event in Javascript
â–ª Onmouseover Event in Javascript
â–ª Onmouseout Event in Javascript
â–ª Onmousedown Event in Javascript
â–ª Onmouseup Event in Javascript
Arrays in JavaScript

1. javascript array length
2. Array Methods in Javascript

â–ª Javascript Array to String
â–ª Javascript Array Join
â–ª Javascript Array pop
â–ª Javascript Array Push
â–ª Javascript Array Shift
â–ª Javascript Unshift
â–ª JavaScript Slice Method
Sets in JavaScript

â–ª JavaScript Set Add
â–ª JavaScript Set Has
â–ª Set Size Property JavaScript
â–ª JavaScript Set Delete
Map in JavaScript

â–ª JavaScript Map set
â–ª Can Map have duplicate keys?
â–ª JavaScript Map get
â–ª JavaScript Map has
â–ª JavaScript Map keys
â–ª JavaScript Map values
â–ª JavaScript Map delete
Javascript Date Objects

1. Some more ways to create date object
2. Different methods related to date

â–ª Getting the date(getDate method)
â–ª Getting the day of the week(getDay method)
â–ª Getting the year(getFullYear method)
â–ª Getting the time (getTime method)
â–ª Getting the hours (getHours method)
â–ª Getting the minutes(getMinutes method)
â–ª Getting the seconds (getSeconds method)
Understanding this keyword
Introduction to DOM (Document Object Model)

1. Finding the HTML elements in the document
2. What are nodes?
3. Accessing different HTML elements

• Finding the element by id
• Finding elements by classname
• The querySelector method
• The querySelectorAll method
4. Exploring DOM
5. Difference between innerHTML, innerText, and textContent
6. You can also change the style of HTML elements
7. Displaying output to the console, as errors and warning
8. Creating new elements with JavaScript
9. Handling events