JavaScript Basic

JavaScript is a versatile, high-level programming language primarily used for creating dynamic and interactive content on websites. Key aspects include:

  1. Client-Side Scripting: JavaScript runs in the browser, enabling interactive web pages without needing to reload the page.
  2. Syntax: Similar to C-based languages, using variables (let, const), functions, and control structures (if-else, loops).
  3. DOM Manipulation: JavaScript can modify HTML and CSS to update content and styles dynamically.
  4. Event Handling: It responds to user actions like clicks, keyboard input, and other events.
  5. Data Types and Structures: Supports numbers, strings, booleans, objects, arrays, null, and undefined.
  6. Interoperability: Integrates well with other web technologies like HTML and CSS, and can also interact with APIs.

JSHome

1
JS Tutorial
10 minutes

The most widely used programming language globally is JavaScript.

2
JS Introduction
10 minutes

JavaScript is a versatile, high-level programming language commonly used for creating interactive and dynamic web content, enabling features like animations, form validations, and real-time updates in web applications.

3
JS Where To
10 minutes

JS Where To" refers to resources or documentation that guide developers on where to effectively use JavaScript within web development, including its integration with HTML and CSS, as well as frameworks and libraries.

4
JavaScript in heasd
10 minutes

JavaScript in the <head> refers to placing JavaScript code or script references within the <head> section of an HTML document, allowing for code execution before the body content is loaded, which can affect page loading and rendering behavior.

5
External JavaScript
10 minutes

External JavaScript refers to JavaScript code that is written in a separate .js file and linked to an HTML document using the <script> tag, enabling code reuse and better organization while improving page load times.

6
JS Output
10 minutes

JavaScript Output refers to the various methods used to display data, such as modifying HTML content with innerHTML, writing directly with document.write(), showing alerts with window.alert(), and logging to the console with console.log().

7
Using innerHTML
10 minutes

Using innerHTML in JavaScript allows you to modify or insert content into an HTML element by directly setting or updating its inner HTML markup.

8
Using window.alert()
10 minutes

Using window.alert() in JavaScript displays a pop-up dialog box with a specified message, requiring the user to click "OK" to proceed.

9
JS Statements
10 minutes

JavaScript statements are instructions that perform actions, such as declaring variables, executing functions, or controlling program flow, and are typically separated by semicolons.

10
Semicolons
10 minutes

In JavaScript, semicolons are used to separate and terminate statements, ensuring proper code execution and preventing errors in certain situations.

11
JS White Space
10 minutes

In JavaScript, white space refers to spaces, tabs, and newlines used to improve code readability, which is ignored by the JavaScript engine during execution.

12
JS Keywords
10 minutes

JavaScript keywords are reserved words that have special meanings and are used to perform specific actions, such as var, let, if, function, and return.

13
JS Syntax
10 minutes

JavaScript syntax refers to the set of rules and structure that defines how JavaScript code is written and interpreted, including the use of variables, operators, statements, and functions.

14
JavaScript Expressions
10 minutes

JavaScript expressions are combinations of values, variables, and operators that produce a result or value when evaluated.

15
JavaScript Identifiers / Names
10 minutes

JavaScript identifiers (or names) are names given to variables, functions, classes, and other entities, following specific rules that allow for letters, digits, underscores, and dollar signs, but must not begin with a digit or be a reserved keyword.

16
JavaScript is Case Sensitive
10 minutes

JavaScript is case-sensitive, meaning that identifiers like variable names, function names, and keywords are distinguished by uppercase and lowercase letters.

17
JS Comments
10 minutes

JavaScript comments are non-executable lines in the code that provide explanations or notes, using // for single-line comments and /* ... */ for multi-line comments.

18
Multi-line Comments
10 minutes

Multi-line comments in JavaScript are blocks of text that can span multiple lines, enclosed between /* and */, and are ignored by the interpreter.

19
Using Comments to Prevent Execution
10 minutes

Using comments prevents code execution by treating the commented lines as non-executable text.

20
JS Variables
10 minutes

JavaScript variables are named containers used to store data values, which can be declared using var, let, or const.

21
Example using var
10 minutes

An example using var declares a variable with function or global scope, such as var x = 10;.

22
Example using const
10 minutes

An example using const declares a block-scoped constant, such as const x = 10;.

23
JavaScript Identifiers
10 minutes

JavaScript identifiers are names used to label variables, functions, or objects, following specific naming rules.

24
The Assignment Operator
10 minutes

The assignment operator (=) in JavaScript assigns a value to a variable.

25
JavaScript Data Types
10 minutes

JavaScript data types define the kinds of values a variable can hold, such as numbers, strings, objects, and booleans.

26
One Statement, Many Variables
10 minutes

One statement can declare multiple variables by separating them with commas, such as let x = 10, y = 20, z = 30;.

27
Value = undefined
10 minutes

An undefined value indicates that a variable has been declared but not assigned a value.

28
JavaScript Arithmetic
10 minutes

JavaScript arithmetic refers to mathematical operations like addition, subtraction, multiplication, division, and modulus performed on numbers.

29
JS Let
10 minutes

let is a JavaScript keyword used to declare block-scoped variables that can be reassigned.

30
Global Scope
10 minutes

Global scope refers to the context in which variables or functions are accessible throughout the entire program, outside of any specific function, block, or module.

31
Redeclaring Variables
10 minutes

Redeclaring variables means defining a variable with the same name again in the same scope, potentially overwriting its previous value or causing errors, depending on the programming language.

32
var, let and const
10 minutes

var, let, and const are JavaScript keywords used to declare variables, each with different scoping and usage rules.

33
What is Good?
10 minutes

Good is the quality of being morally right, beneficial, or desirable.

34
Redeclaring
5 minutes

Redeclaring means defining a variable or function with the same name again within the same scope.

35
Let Hoisting
10 minutes

Let hoisting refers to the behavior where variables declared with let are hoisted to the top of their scope but remain in a "temporal dead zone" until initialized.

36
JS Const
10 minutes

const is a JavaScript keyword used to declare block-scoped variables whose values cannot be reassigned after their initial assignment.

37
JS Operators
10 minutes

JavaScript operators are special symbols that perform operations on variables and values, such as arithmetic, comparison, logical, and assignment operations.

38
JS Arithmetic
10 minutes

JavaScript arithmetic operators perform mathematical operations on numbers, including addition, subtraction, multiplication, division, and modulus.

39
Arithmetic Operations
10 minutes

Arithmetic operations are mathematical calculations involving operators like addition, subtraction, multiplication, division, and modulus.

40
Adding
10 minutes

Adding is the arithmetic operation of combining two or more values to calculate their total sum.

41
Multiplying
10 min utes

Multiplying is the arithmetic operation of increasing a value by a specified number of times, typically using the multiplication operator (*).

42
Remainder
5 minutes

The remainder is the amount left over after division when one number is divided by another.

43
Decrementing
10 minutes

Decrementing is the process of reducing a value, typically by one, in a stepwise fashion.

44
Operator Precedence
10 minutes

Operator precedence is the order in which operators are evaluated in an expression, determining the sequence of operations.

45
JS Assignment
10 minutes

JavaScript assignment operators assign values to variables, with = being the most common for basic assignments.

46
JS Data Types
10 minutes

JavaScript data types are classifications of values, including primitive types like numbers, strings, booleans, null, undefined, and symbol, as well as the object type for complex data structures.

47
The Concept of Data Types
10 minutes

Data types define the kind of data that can be stored in a variable, such as integers, floating-point numbers, or strings.

48
JavaScript Strings
10 minutes

JavaScript strings are sequences of characters used to represent text, enclosed in single, double, or backticks.

49
JS Functions
10 minutes

JavaScript functions are reusable blocks of code designed to perform a specific task, defined using the function keyword or arrow syntax, and can accept parameters and return values.

50
Function Invocation
10 minutes

Function invocation is the process of calling or executing a function in a program to perform its defined task.

51
JS Objects
10 minutes

A JavaScript object is a collection of key-value pairs that represents complex data structures, allowing for the grouping of related data and functionality.

52
JavaScript Variables
10 minutes

JavaScript variables are containers used to store data values, which can be referenced and manipulated throughout the code.

53
JavaScript Object Definition
10 minutes

JavaScript object definition is the process of creating a collection of key-value pairs, where keys are strings and values can be any data type.

54
Object Properties
10 minutes

Object properties are key-value pairs that store data or characteristics of an object in JavaScript.

55
Accessing Object Properties
10 minutes

Accessing object properties involves retrieving the values associated with a specific key in an object, using dot notation or bracket notation.

56
In JavaScript, Objects are King.
10 minutes

 In JavaScript, objects are fundamental structures that store and organize data, serving as the core building blocks of most applications.

57
JavaScript Primitives
10 minutes

JavaScript primitives are basic data types, including strings, numbers, booleans, null, undefined, and symbols, that are immutable and not objects.

58
Immutable
10 minutes

Immutable refers to an object or value that cannot be changed after it is created.

59
JavaScript Objects are Mutable
10 minutes

JavaScript objects are mutable, meaning their properties can be changed or updated after they are created.

60
JS Object Properties
10 minutes

JavaScript object properties are key-value pairs that define the characteristics and behaviors of an object, allowing access and manipulation of its data.

61
JS Object Methods
10 minutes

JavaScript object methods are functions defined within an object that operate on the object's properties, enabling behavior related to that object.

62
Accessing Object Methods
10 minutes

Accessing object methods involves calling a function defined as a property of an object using dot notation or bracket notation.

63
JS Objects Display
10 minutes

JavaScript objects display their properties and methods using various techniques, such as console.log(), JSON.stringify(), or by directly accessing them in the browser's developer tools.

64
JS Object Constructor
10 minutes

A JavaScript object constructor is a special function used to create and initialize objects, typically defined with a capitalized name and using the new keyword to instantiate new objects.

65
JS Events
10 minutes

JavaScript events are actions or occurrences detected by the browser, such as user interactions (clicks, key presses) that can trigger specified functions or responses in the code.

66
Common HTML Events
10 minutes

Common HTML events are user or browser actions, such as clicks, loading, key presses, and mouse movements, that trigger specific behaviors.

67
JS Strings
10 minutes

JavaScript strings are sequences of characters used to represent text, defined within single quotes, double quotes, or backticks, and can include various characters and escape sequences.

68
String Length
10 minutes

String length in JavaScript refers to the number of characters in a string, accessed using the .length property.

69
JS String as Objects
10 minutes

In JavaScript, strings can be defined as objects using the String constructor with the new keyword.

70
JS String Method
10 minutes

JavaScript string methods are built-in functions that allow manipulation and transformation of string values, such as length, substring(), and toUpperCase().

71
Java Script String Padding
10 minutes

JavaScript string padding adds characters to the beginning or end of a string to achieve a specified length.

72
JavaScript String lastIndexOf()
10 minutes

The JavaScript lastIndexOf() method returns the last occurrence index of a specified substring within a string, or -1 if not found.

73
JavaScript String search()
10 minutes

The search() method in JavaScript searches a string for a match against a regular expression and returns the index of the first match.

74
JavaScript String matchAll()
10 minutes

The matchAll() method in JavaScript returns an iterator of all matches for a regular expression in a string, including capturing groups.

75
JS String Search
10 minutes

JavaScript string search methods locate the position of a substring within a string, returning its index or a boolean value.

76
JS Strings Template
10 minutes

JavaScript template strings are string literals that allow embedded expressions, multi-line strings, and interpolation using backticks (`).

77
JS Numbers
10 minutes

In JavaScript, a number is a data type representing both integer and floating-point values, capable of performing arithmetic operations.

78
Integer Precision
10 minutes

Integer precision refers to the maximum number of digits an integer can accurately represent in a programming language or system.

79
Numeric Strings
10 minutes

Numeric strings are string values that consist of digits and can represent numbers but are treated as text in JavaScript.

80
NaN - Not a Number
10 minutes

NaN (Not a Number) is a JavaScript value representing an invalid or undefined numerical result.

81
Infinity
10 minutes

Infinity in JavaScript represents a value greater than any finite number, occurring from division by zero or overflow.

82
Hexadecimal
10 minutes

Hexadecimal is a base-16 numbering system using digits 0-9 and letters A-F to represent values.

83
JS BigInt
10 minutes

BigInt is a JavaScript data type that enables representation and manipulation of integers larger than the Number type's maximum safe integer limit.

84
BigInt Operators
10 minutes

BigInt operators in JavaScript are used for performing arithmetic, comparison, and bitwise operations on BigInt values, ensuring precision for arbitrarily large integers.

85
JS Number Method
10 minutes

BigInt is a JavaScript data type that enables representation and manipulation of integers larger than the Number type's maximum safe integer limit.

86
The Number() Method
10 minutes

The Number() method in JavaScript converts a value to a number type, returning NaN if the conversion is invalid.

87
JS Number Properties
10 minutes

JavaScript number properties are built-in constants and methods associated with the Number type, including Number.MAX_VALUE, Number.MIN_VALUE, and various mathematical functions.

88
JS Arrays
10 minutes

JavaScript arrays are ordered collections of elements that can store multiple values, which can be of different types, accessible by their index.

89
Access the Full Array
10 minutes

The Number() method in JavaScript converts a value to a number type, returning NaN if the conversion is invalid.

90
Array Elements Can Be Objects
10 minutes

Array elements in JavaScript can be objects, allowing arrays to store complex data types alongside primitives.

91
Adding Array Elements
10 minutes

Adding array elements involves using methods like push() to add at the end, unshift() to add at the beginning, or by assigning values to specific indices.

92
JavaScript new Array()
10 minutes

The new Array() constructor in JavaScript creates a new array, optionally initializing it with specified elements or a set length.

93
JS Array Methods
10 minutes

JavaScript array methods are built-in functions that allow for manipulation and interaction with arrays, such as adding, removing, or transforming elements.

94
JavaScript Array length
10 minutes

The length property of a JavaScript array returns the total number of elements in the array and can also be used to resize it.

95
JavaScript Array at()
10 minutes

The at() method in JavaScript retrieves an array element at a specified index, supporting positive and negative indexing.

96
Popping and Pushing
10 minutes

Popping removes the last element from an array, while pushing adds one or more elements to the end of the array.

97
Shifting Elements
10 minutes

Shifting elements in JavaScript involves using the shift() method to remove the first element of an array, shifting the remaining elements forward.

98
Changing Elements
10 minutes

Changing elements in JavaScript arrays is done by directly assigning a new value to a specific index (e.g., array[index] = value).

99
Merging Arrays (Concatenating)
10 minutes

Merging arrays in JavaScript is done using the concat() method or the spread operator (...), combining two or more arrays into one.

100
Flattening an Array
10 minutes

Flattening an array transforms a nested array into a single-dimensional array by removing all nested structures.

101
JavaScript Array splice()
10 minutes

The splice() method in JavaScript changes the contents of an array by removing, replacing, or adding elements at a specified index.

102
Using splice() to Remove Elements
10 minutes

Using splice() to remove elements in JavaScript involves specifying the start index and the number of elements to remove from the array.

103
JavaScript Array slice()
10 minutes

The slice() method in JavaScript returns a shallow copy of a portion of an array, selected from a start index to an end index, without modifying the original array.

104
Automatic toString()
10 minutes

The automatic toString() method in JavaScript is called when an object is used in a context that requires a string, converting the object to its string representation.

105
JS Array Search
10 minutes

JavaScript array search methods locate elements within an array, returning their index or a boolean value, using techniques like indexOf, find, and includes.

106
JS Array Sort
10 minutes

JavaScript array sort methods arrange the elements of an array in a specified order, typically ascending or descending, using the sort() function.

107
Sorting an Array
10 minutes

Sorting an array in JavaScript is done using the sort() method, which arranges elements in ascending or descending order based on a specified comparator.

108
Numeric Sort
10 minutes

Numeric sort in JavaScript arranges array elements in numerical order, typically using the sort() method with a custom comparator to handle numerical comparison.

109
The Compare Function
10 minutes

The compare function in JavaScript is used with sorting methods like sort() to define the order of elements based on custom comparison logic.

110
Sorting an Array in Random Order
10 minutes

Sorting an array in random order in JavaScript can be done by using the sort() method with a random comparator function, such as Math.random().

111
Stable Array sort()
10 minutes

A stable array sort() in JavaScript preserves the relative order of elements with equal values during sorting.

112
The Fisher Yates Method
10 minutes

The Fisher-Yates method is an efficient algorithm for randomly shuffling the elements of an array, ensuring each permutation is equally likely.

113
Find Min or Max with sort()
10 minutes

You can find the minimum or maximum value in an array by using sort() to arrange the elements, then selecting the first (min) or last (max) element.

114
Using Math.min() on an Array
10 minutes

Math.min() can be used on an array by spreading the array into individual arguments, like Math.min(...array), to find the minimum value.

115
JavaScript Array Minimum Method
10 minutes

The JavaScript Array Minimum Method finds the smallest value in an array, commonly using Math.min(...array) or a custom reduce() function.

116
JS Array Iteration
10 minutes

JavaScript array iteration refers to the process of traversing through each element of an array to perform operations, commonly using methods like forEach, map, or reduce.

117
JavaScript Array map()
10 minutes

The map() method in JavaScript creates a new array by applying a provided function to each element of the original array.

118
JavaScript Array reduce()
10 minutes

The reduce() method in JavaScript executes a reducer function on each array element to produce a single accumulated result.

119
JavaScript Array every
10 minutes

JavaScript array sort methods arrange the elements of an array in a specified order, typically ascending or descending, using the sort() function.

120
JS Array Const
10 minutes

In JavaScript, const is a declaration that creates a block-scoped variable that cannot be reassigned, commonly used for defining arrays that should not be redefined, although their contents can still be modified.

121
Browser Support
10 minutes

Browser support indicates the compatibility of a web technology, method, or feature across different browsers and their versions.

122
Const Block Scope
10 minutes

Browser support indicates the compatibility of a web technology, method, or feature across different browsers and their versions.

123
JS Dates
10 minutes

JavaScript dates represent specific moments in time, encapsulated in the Date object, which provides methods for date and time manipulation and formatting.

124
JS Dates Formats
10 minutes

JavaScript date formats refer to various ways of representing dates and times as strings, including ISO 8601, locale-based formats, and custom patterns.

125
ISO Dates (Year and Month)
10 minutes

ISO dates with year and month are formatted as YYYY-MM, representing a specific month in a given year.

126
Time Zones
10 minutes

Time zones are regions of the Earth that have the same standard time, typically based on the offset from Coordinated Universal Time (UTC).

127
JS Date Get Methods
10 minutes

JavaScript date get methods retrieve specific components of a date, such as the year, month, day, hour, and more, using functions like getFullYear(), getMonth(), and getDate().

128
JS Date Set Method
10 minutes

JavaScript date set methods modify specific components of a date object, such as the year, month, day, and time, using functions like setFullYear(), setMonth(), and setDate().

129
JS Math
10 minutes

JavaScript Math is a built-in object that provides a collection of static methods and properties for performing mathematical calculations and operations.

130
JS Random
10 minutes

JavaScript random refers to generating pseudo-random numbers, typically using Math.random(), which produces a floating-point number between 0 (inclusive) and 1 (exclusive).

131
JS Booleans
10 minutes

JavaScript booleans are a data type that can hold one of two values: true or false, commonly used for conditional logic.

132
JavaScript Booleans as Objects
10 minutes

JavaScript Booleans as objects are created using the Boolean constructor, allowing for object-like behavior rather than primitive values.

133
JS Comparison
10 minutes

JavaScript comparison refers to evaluating the relationship between two values using operators like ==, ===, !=, and !==, determining their equality or inequality.

134
The Nullish Coalescing Operator (??)
10 minutes

The Nullish Coalescing Operator (??) returns the right-hand operand when the left-hand operand is null or undefined, providing a way to set default values.

135
JS If Else
10 minutes

The JS if-else statement allows for conditional execution of code blocks based on whether a specified condition evaluates to true or false.

136
JS Switch
10 minutes

The JS switch statement allows for multi-case conditional execution, evaluating an expression and executing the corresponding block of code for the matching case.

137
The break Keyword
10 minutes

The break keyword is used to exit a loop or switch statement prematurely, transferring control to the statement immediately following it.

138
Switching Details
10 minutes

Switching details refer to the use of the switch statement in programming to handle multiple conditional branches based on specific values or expressions.

139
JS Loop For
10 minutes

The JS for loop is a control structure that repeatedly executes a block of code a specified number of times, using an initialization, condition, and increment/decrement expression.

140
The For Loop
10 minutes

A for loop is a control flow statement that iterates over a sequence (like a range, array, or object properties) or repeats a block of code a specified number of times.

141
Expression 1
10 minutes

In programming, Expression 1 in a for loop is the initialization step, where variables are set before the loop starts.

142
Loop Scope
10 minutes

Loop scope refers to the accessibility of variables defined within a loop, which are typically limited to the loop itself and cannot be accessed outside of it.

143
JS Loop For In
10 minutes

The JS for/in loop iterates over the enumerable properties of an object, allowing you to access each key in the object.

144
JS Loop For Of
10 minutes

The for...of loop in JavaScript iterates over iterable objects (like arrays, strings, or sets), allowing access to each element's value directly.

145
JS Loop While
10 minutes

The while loop in JavaScript repeatedly executes a block of code as long as a specified condition is true.

146
JS Break
10 minutes

The break statement in JavaScript terminates the nearest enclosing loop or switch statement, allowing control to move to the next statement following the loop or switch.

147
JavaScript Labels
10 minutes

JavaScript labels are identifiers used to name loops or blocks, allowing control statements like break and continue to refer to them.

148
JS Iterables
10 minutes

In JavaScript, iterables are objects that implement the Symbol.iterator method, allowing them to be iterated over using loops like for...of.

149
Iterating Over a Set
10 minutes

Iterating over a Set means looping through its elements using methods like for...of, forEach(), or iterators.

150
JavaScript Iterators
10 minutes

JavaScript iterators are objects that allow traversing through a collection, providing the ability to access each element one by one, using methods like next().

151
Home Made Iterable
10 minutes

A homemade iterable in JavaScript is an object that implements the Symbol.iterator method, allowing it to be used in for...of loops or with iterators.

152
JS Sets
10 minutes

In JavaScript, Sets are collections of unique values, where each value can occur only once, and they are iterable and maintain insertion order.

153
JS Set Methods
10 minutes

JavaScript Set methods include add(), delete(), has(), and clear(), which allow you to add, remove, check for values, and clear the Set, respectively.

154
JS Maps
10 minutes

In JavaScript, Maps are collections of key-value pairs where keys can be of any type and maintain the insertion order.

155
Maps are Objects
10 minutes

Maps are collections of key-value pairs where keys can be of any data type, unlike objects which use strings as keys.

156
JS Map Methods
10 minutes

JavaScript Map methods are functions that allow you to manipulate and interact with key-value pairs in a Map object, such as set, get, has, delete, clear, and forEach.

157
Map.entries()
10 minutes

The Map.entries() method returns an iterator containing all key/value pairs in a Map as an array of arrays.

158
Objects as Keys
10 minutes

In JavaScript, objects can be used as keys in Maps, but not in regular objects, as object keys are automatically converted to strings.

159
JavaScript Map.groupBy()
10 minutes

Map.groupBy() is a method (commonly in libraries) that groups elements of a collection by a specified key or property, creating a Map where each key maps to an array of grouped elements.

160
JS Typesof
10 minutes

typeof in JavaScript is an operator used to determine the data type of a given value, returning a string that indicates the type.

161
The instanceof Operator
10 minutes

The instanceof operator in JavaScript checks if an object is an instance of a specified class or constructor function.

162
Empty Values
10 minutes

Empty values in JavaScript refer to values like undefined, null, "" (empty string), 0, and NaN, which represent the absence or lack of meaningful data.

163
The constructor Property
10 minutes

The constructor property is a reference to the function that created an instance's prototype, allowing you to identify the object’s constructor.

164
All Together
10 minutes

All together" refers to bringing multiple elements, actions, or people into a unified or collective state or group.

165
JS Type Conversion
10 minutes

JavaScript type conversion is the process of converting a value from one data type to another, either explicitly through functions or implicitly during operations.

166
JS Destructuring
10 minutes

JS destructuring is a syntax that enables extracting values from arrays or properties from objects and assigning them to variables in a concise manner.

167
Array Destructuring
10 minutes

Array destructuring is a syntax that allows unpacking values from an array into individual variables in a concise manner.

168
JS Bitwise
10 minutes

JavaScript bitwise operations manipulate individual bits of numeric values using operators such as AND, OR, XOR, NOT, and bit shifts.

169
JavaScript Uses 32 bits Bitwise Operands
5 minutes

JavaScript uses 32-bit signed integers for bitwise operations, treating operands as 32-bit values regardless of their original size.

170
JavaScript Bitwise AND
10 minutes

The JavaScript Bitwise AND (&) operator performs a bit-by-bit AND operation between two integers, returning a new integer where each bit is 1 only if both corresponding bits are 1.

171
JavaScript (Zero Fill) Right Shift (>>>)
10 minutes

The JavaScript zero-fill right shift operator (>>>) shifts bits to the right, filling in zeros from the left, and discards the rightmost bits.

172
JS RegExp
10 minutes

A JavaScript RegExp (Regular Expression) is an object that defines a pattern for matching text in strings, enabling search, replace, and other text manipulation operations.

173
Using String Methods
10 minutes

Using string methods in JavaScript allows you to manipulate and perform operations on strings, such as split(), replace(), toUpperCase(), and substring().

174
JS Precedence
10 minutes

In JavaScript, precedence refers to the order in which operators are evaluated in an expression, determining which operations are performed first.

175
JS Errors
10 minutes

In JavaScript, errors are issues that occur during the execution of a program, preventing it from running as expected, such as syntax errors, runtime errors, or logical errors.

176
JavaScript try and catch
10 minutes

JavaScript try and catch are used to handle exceptions, where try executes code and catch handles any errors that occur within the try block.

177
The throw Statement
10 minutes

The throw statement in JavaScript is used to explicitly raise an error, allowing custom error handling within a program.

178
The Error Object
10 minutes

The Error object in JavaScript represents an error that occurs during the execution of a program, providing properties like message, name, and stack for debugging.

179
JS Scope
10 minutes

In JavaScript, scope refers to the context in which variables and functions are accessible or defined, determining their visibility and lifetime within the code.

180
Local Scope
10 minutes

Local scope in JavaScript refers to the area within a function where variables are defined and accessible only within that function.

181
Function Scope
10 minutes

Function scope in JavaScript refers to the context in which variables and functions are accessible within a specific function, and are not accessible outside it.

182
Global Scope
10 minutes

Global scope in JavaScript refers to the context in which variables and functions are accessible throughout the entire program, outside of any function.

183
Strict Mode
10 minutes

Strict mode in JavaScript is a way to opt into a stricter version of JavaScript that enforces safer coding practices and catches common errors, such as disallowing the use of undeclared variables.

184
Warning
10 minutes

A warning in JavaScript is a message indicating a potential issue or best practice violation without stopping the execution of the program.

185
JS Hoisting
10 minutes

JavaScript hoisting is the behavior where variable and function declarations are moved to the top of their scope during the compilation phase, before the code is executed.

186
The let and const Keywords
10 minutes

The let keyword in JavaScript declares a block-scoped variable, while const declares a block-scoped, read-only constant.

187
JavaScript Initializations are Not Hoisted
10 minutes

In JavaScript, variable initializations using let and const are not hoisted, meaning they are not accessible before their declaration in the code.

188
JS Strict Mode
10 minutes

JavaScript Strict Mode is a way to opt-in to a restricted variant of JavaScript that helps catch common coding errors and prevents the use of potentially unsafe features.

189
JS this Keyword
10 minutes

In JavaScript, the this keyword refers to the context or object that calls the function, and its value is determined by how the function is invoked.

 

190
Function Borrowing
10 minutes

Function borrowing is the practice of using a method from one object on another object, typically by using call() or apply() to borrow the method's functionality.

191
JS Arrow fuction
10 minutes

A JavaScript arrow function is a concise syntax for writing functions, using the => syntax, and it lexically binds the this value from its surrounding context.

192
Arrow Function With Parameters:
5 minutes

An arrow function with parameters in JavaScript is a concise syntax for defining functions, written as (param1, param2) => expression.

193
What About this?
10 minutes

In JavaScript, this refers to the context in which a function is executed and varies based on how the function is called.

194
JS Classes
10 minutes

JavaScript classes are a blueprint for creating objects, providing a more structured way to define and manage object properties and methods, introduced in ES6.

195
JS Modules
10 minutes

JavaScript modules are a way to structure and organize code by splitting it into separate files, allowing you to export and import functions, objects, or variables between them.

196
Import
10 minutes

import is a JavaScript statement used to bring in functions, objects, or values from external modules or files.

197
JS JSON
10 minutes

JavaScript Object Notation (JSON) is a lightweight data-interchange format that is easy for humans to read and write, and easy for machines to parse and generate. It is commonly used to store and exchange data between a server and a client.

198
JSON Syntax Rules
10 minutes

JSON syntax rules include using key-value pairs, enclosing keys and string values in double quotes, and separating pairs with commas within curly braces {}.

199
JSON Arrays
10 minutes

JSON arrays are ordered lists of values enclosed in square brackets [], where values can be strings, numbers, objects, arrays, true, false, or null.

200
JS Debugging
10 minutes

JavaScript debugging is the process of identifying, diagnosing, and fixing errors or issues in JavaScript code to ensure it runs as expected.

201
Setting Breakpoints
10 minutes

Setting breakpoints in debugging marks specific lines in code to pause execution, allowing inspection of variable states and program flow.

202
JS Style Guide
10 minutes

A JavaScript style guide is a set of conventions and best practices for writing consistent, readable, and maintainable code.

203
Line Length < 80
10 minutes

Line length < 80 refers to the coding convention of limiting the length of each line of code to 80 characters for better readability and maintainability.

204
Loading JavaScript in HTML
10 minutes

Loading JavaScript in HTML is done using the <script> tag, either inline or by referencing an external file with the src attribute.

205
Use Lower Case File Names
10 minutes

Using lowercase file names ensures consistency and avoids issues in case-sensitive file systems.

206
JS Best Practices
10 minutes

JavaScript best practices are a set of guidelines and techniques that promote writing clean, efficient, maintainable, and error-free code.

207
Use === Comparison
10 minutes

Use === for comparison in JavaScript to ensure both value and type equality, avoiding type coercion.

208
JS Mistakes
10 mi9nutes

JavaScript mistakes are errors or misunderstandings in code that lead to unintended behavior, often due to incorrect syntax, logic, or misuse of language features.

209
Confusing Addition & Concatenation
10 minutes

Confusing addition and concatenation in JavaScript occurs when the + operator is used with both numbers and strings, leading to unintended results.

210
Misplacing Semicolon
10 minutes

You need to use a backslash if you want to break a statement within a string.

211
Explanation
10 minutes

An explanation clarifies or simplifies a concept, process, or idea to make it easier to understand.

212
Accessing Arrays with Named Indexes
10 minutes

Accessing arrays with named indexes is not directly possible in JavaScript, as arrays use numeric indices, but objects can be used with named keys for similar functionality.

213
Undefined is Not Null
10 minutes

"Undefined" represents an uninitialized variable, while "null" is an explicit assignment to indicate the absence of a value in JavaScript.

214
JS Performance
10 minutes

JavaScript performance refers to how efficiently JavaScript code executes in terms of speed, memory usage, and resource optimization within a web environment.

215
Reduce DOM Access
10 minutes

Reducing DOM access in JavaScript improves performance by minimizing the number of interactions with the DOM, which can be slow, especially in large documents.

216
JS Reserved Words
10 minutes

JavaScript reserved words are keywords that have a predefined meaning in the language and cannot be used as variable, function, or object names.

JS Versions

1
JS Versions
10 minutes

JavaScript version refers to the specific release or iteration of the language, with each version introducing new features, syntax, and improvements (e.g., ECMAScript 5, ECMAScript 6, ES2020).

2
JS 2009 (ES5)
10 minutes

JavaScript 2009 (ES5) introduced significant improvements, including strict mode, better array handling, JSON support, and new methods for objects and arrays.

3
Array.isArray()
10 minutes

Array.isArray() is a JavaScript method that checks whether a given value is an array, returning true if it is, and false otherwise.

4
Array indexOf()
10 minutes

Array.indexOf() is a JavaScript method that returns the first index at which a specified element is found in an array, or -1 if the element is not present.

5
JSON.stringify()
10 minutes

JSON.stringify() converts a JavaScript object or value to a JSON string.

6
Object.create()
10 minutes

Object.create() is a JavaScript method that creates a new object with a specified prototype object and optional properties.

7
JS 2015 (ES6)
10 minutes

JavaScript 2015 (ES6) introduced major updates, including arrow functions, classes, modules, promises, and new syntax features like let, const, and template literals.

8
JavaScript let
10 minutes

let declares a block-scoped, reassignable variable in JavaScript.

9
Arrow Functions
10 minutes

Arrow functions are concise syntax for writing anonymous functions in JavaScript, using =>.

10
Object Destructuring
10 minutes

Object destructuring is a syntax in JavaScript for extracting properties from an object into individual variables.

11
The For/Of Loop
10 minutes

The for...of loop in JavaScript iterates over the values of an iterable object (like arrays, strings, or maps), allowing access to each element in the sequence.

12
The Symbol Type
10 minutes

The Symbol type in JavaScript is a primitive data type that creates unique, immutable identifiers often used as object property keys.

13
Array findIndex()
10 minutes

The findIndex() method in JavaScript returns the index of the first element in an array that satisfies a provided testing function, or -1 if no element passes the test.

14
The Math.log10() Method
10 minutes

The Math.log10() method in JavaScript returns the base 10 logarithm of a given number.

15
JS 2016
10 minutes

JavaScript 2016 (ES7) introduced new features like the Array.prototype.includes() method and the exponentiation operator (**).

16
JS 2017
10 mionutes

JavaScript 2017 (ES8) introduced features like async/await, Object.entries(), Object.values(), and the String.padStart() and String.padEnd() methods.

17
JavaScript Object Values
10 minutes

The Object.values() method in JavaScript returns an array of a given object's own enumerable property values.

18
JS 2018
10 minutes

JavaScript 2018 (ES9) introduced features like asynchronous iteration, rest/spread properties for objects, and improvements to regular expressions.

19
JavaScript Threads
10 minutes

JavaScript threads refer to the execution contexts in which code runs, with the main thread handling most tasks and Web Workers enabling parallel execution of code in separate threads.

20
JS 2019
10 minutes

JavaScript 2019 (ES10) introduced features like the Array.prototype.flat(), flatMap(), Object.fromEntries(), and improvements to String and Array methods.

21
JS 2020
10 minutes

JavaScript 2020 (ES11) introduced features like the BigInt type, Nullish Coalescing Operator (??), Optional Chaining (?.), and dynamic import() syntax.

22
The Optional Chaining Operator (?.)
10 minutes

The Optional Chaining Operator (?.) allows you to safely access deeply nested properties of an object without throwing an error if a reference is null or undefined.

23
JS 2021
10 minutesz

JavaScript 2021 (ES12) introduced new features like logical assignment operators, Promise.any(), WeakRefs, and improvements to the String.prototype.replaceAll() method.

24
JS 2022
10 minutes

JavaScript 2022 (ES13) introduced new features and improvements, including the at() method for arrays and Array.prototype.sort() improvements, as well as additional methods for working with objects and strings.

25
JavaScript Array at()
10 minutes

The at() method in JavaScript returns the element at a specified index in an array, supporting negative indexing.

26
JavaScript String at()
10 minutes

The at() method in JavaScript returns the character at a specified index in a string, supporting negative indexing.

27
JS 2023
10 minutes

JavaScript 2023 (ES2023) introduces new features and enhancements, including the Array.prototype.toSorted(), Array.prototype.toSpliced(), and improvements to regex, error handling, and promise methods for better performance and usability.

28
JavaScript Array with() Method
10 minitues

The JavaScript Array.with() method creates a new array with a specified element replaced at a given index, while leaving the original array unchanged.

29
JS 2024
10 minutes

JavaScript 2024 (ES2024) introduces new features and improvements to the language, continuing to enhance performance, syntax, and developer experience.

30
Object.groupBy() vs Map.groupBy()
10 minutes

Object.groupBy() groups object properties based on string values returned by a callback, while Map.groupBy() does the same for Map entries, with both methods not modifying the original object.

31
JS IE / Edge
10 minutes

In JavaScript, "IE" refers to Internet Explorer, a legacy web browser from Microsoft. "Edge" refers to Microsoft Edge, which replaced Internet Explorer as Microsoft's default browser.

32
Earlier Announcements
10 minutes

Earlier announcements refer to information or statements shared previously, often in a public or official context.

33
Microsoft Edge Legacy
10 minutes

Microsoft Edge Legacy is the original version of the Edge web browser, based on Microsoft's proprietary EdgeHTML engine, which was replaced by the Chromium-based Microsoft Edge in 2020.

34
The New Edge
10 minutes

The New Edge is a Chromium-based web browser developed by Microsoft, offering improved performance, security, and compatibility with modern web standards.

35
Old Operating Systems
10 minutes

Old operating systems refer to outdated or legacy software platforms that no longer receive updates or support, such as Windows XP, Windows 95, or early versions of macOS.

36
JS History
10 minture

JavaScript history traces its evolution from a simple scripting language created in 1995 by Brendan Eich for Netscape, to a powerful, widely-used language that powers modern web development with continuous updates through ECMAScript standards.

JS Objects

1
Object Definition
10 minutes

An object in JavaScript is a collection of key-value pairs, where each key (or property) is associated with a value, which can be any data type, including other objects or functions.

2
Object Constructor Functions
10 minutes

Object constructor functions are JavaScript functions used to create and initialize objects with specific properties and methods.

3
Object Prototypes
10 min utes

Object prototypes in JavaScript are templates for creating objects, allowing properties and methods to be shared across instances, enabling inheritance and code reuse.

4
Object Methods
10 minutes

Object methods in JavaScript are functions that are associated with an object and allow it to perform actions or manipulate its properties.

5
JavaScript Object.entries()
10 minutes

JavaScript's Object.entries() method returns an array of a given object's own enumerable property key-value pairs.

6
JavaScript Object.fromEntries()
10 minutes

JavaScript's Object.fromEntries() creates an object from an array of key-value pair entries.

7
JavaScript Object.groupBy()
10 minutes

JavaScript's Object.groupBy() groups an array of elements into an object based on a specified key or criterion.

8
Object Properties
10 minutes

Object properties in JavaScript are key-value pairs associated with an object, where each key (property name) is unique within the object and maps to a specific value.

9
JavaScript Object.seal()
10 minutes

JavaScript's Object.seal() prevents adding or removing properties from an object while allowing modification of existing properties.

10
Adding a new Property
10 minutes

Adding a new property in JavaScript involves assigning a value to a new key on an object using dot or bracket notation.

11
Property Attributes
10 minutes

Property attributes in JavaScript define the characteristics of an object's properties, such as writable, enumerable, and configurable.

12
JavaScript getOwnPropertyNames()
10 minutes

Object.getOwnPropertyNames() is a JavaScript method that returns an array of all enumerable and non-enumerable property names (including symbols) of a given object.

13
Object Get / Set
10 minutes

Object Get/Set refers to the methods used to define custom behavior for accessing and modifying object properties through getters and setters.

14
Object Protection
10 minutes

Object protection in JavaScript refers to techniques like freezing, sealing, or defining properties to prevent modifications to an object’s structure or behavior.

15
Object Constructor Functions
10 minutes

Object constructor functions are JavaScript functions used to create and initialize objects with specific properties and methods.

JS Funtions

1
Function Definitions
10 minutes

Function definitions in JavaScript specify reusable blocks of code that can be executed when called, defined using the function keyword or arrow syntax (=>).

2
Function Expressions
10 minutes

Function expressions in JavaScript define functions as part of an expression, allowing them to be assigned to variables or used inline.

3
The Function() Constructor
10 minutes

The Function() constructor in JavaScript creates new Function objects dynamically, allowing runtime definition of function code.

4
Function Hoisting
10 minutes

Function hoisting in JavaScript refers to the behavior where function declarations are moved to the top of their scope during compilation, allowing them to be called before they appear in the code.

5
Functions Can Be Used as Values
10 minutes

In JavaScript, functions are first-class objects, meaning they can be assigned to variables, passed as arguments, or returned from other functions.

6
Functions are Objects
10 minutes

In JavaScript, functions are objects, meaning they can have properties and methods like other objects.

7
Arrow Functions
10 minutes

Arrow functions in JavaScript are a concise syntax for writing functions, using => and inheriting the this value from the surrounding context.

8
Function Parameters
10 minutes

Function parameters are variables listed in a function's definition, used to receive values (arguments) when the function is called.

9
Default Parameters
10 minutes

Default parameters in JavaScript allow function parameters to have predefined values if no argument is provided for them.

10
Function Rest Parameter
10 minutes

The function rest parameter in JavaScript allows a function to accept an indefinite number of arguments as an array.

11
Arguments are Passed by Value
10 minutes

In JavaScript, arguments are passed by value, meaning that changes to parameters inside a function do not affect the original values.

12
Function Invocation
10 minutes

Function invocation in JavaScript refers to calling a function to execute its code, typically by using its name followed by parentheses.

13
What is this?
10 minutes

In JavaScript, this refers to the context or object that a function is called on, determining the value of properties or methods within that function.

14
The Global Object
10 minutes

The global object is the default object in JavaScript that provides global variables, functions, and properties, such as window in browsers or global in Node.js.

15
Invoking a Function as a Method
10 minutes

Invoking a function as a method means calling it through an object, using the syntax object.method().

16
Invoking a Function with a Function Constructor
10 minutes

Invoking a function with a constructor creates a new object using the new keyword, initializing it with the function as its blueprint.

17
Function call
10 min utes

The call() method in JavaScript allows a function to be invoked with a specified this value and arguments provided individually.

18
Function apply

The apply() method in JavaScript is used to invoke a function with a specified this value and arguments provided as an array or array-like object.

 

19
Function bind
10 minutes

The bind() method in JavaScript creates a new function that, when called, has its this value set to a specific object, with optional preset arguments.

20
Function Closures
10 minutes

A closure is a function that retains access to its lexical scope, even after the outer function has finished executing.

21
JavaScript Nested Functions
10 minutes

JavaScript nested functions are functions defined inside another function, which can access variables and parameters of the outer function.

22
JavaScript Closures
10 minutes

A JavaScript closure is a function that remembers and can access variables from its outer scope, even after that scope has closed.

JS Classes

1
Class Intro
10 minutes

A class introduction is a brief overview that presents key information about the subject, structure, and objectives of a course or lesson.

2
Class Inheritance
10 minutes

Class inheritance allows one class to inherit properties and methods from another, enabling the creation of a new class based on an existing one.

3
Class Static
10 minutes

A class static method or property is associated with the class itself, rather than with instances of the class.

JS Async

1
JS Callbacks
10 minutes

JavaScript callbacks are functions passed as arguments to other functions, to be executed after a certain task is completed.

2
Sequence Control
10 minutes

Sequence control refers to the order in which statements or instructions are executed in a program.

3
JavaScript Callbacks
10 minutes

JavaScript callbacks are functions passed as arguments to other functions, executed after a task is completed.

4
When to Use a Callback?
10 minutes

Use a callback when you need to perform an action after a function completes, such as handling asynchronous operations or events.

5
JS Asynchronous
10 minutes

JavaScript asynchronous programming allows tasks to run in the background, enabling the execution of other code without waiting for the task to complete.

6
JS Promises
10 minutes

JavaScript Promises are objects that represent the eventual completion (or failure) of an asynchronous operation and its resulting value.

7
Promise Object Properties
10 minutes

The Promise object has three properties: pending, fulfilled, and rejected, representing the states of the promise.

8
JavaScript Promise Examples
10 minutes

JavaScript Promise examples illustrate how to handle asynchronous operations, such as waiting for a timeout or a file to load, using .then(), .catch(), and .finally() methods.

9
JS Async / Await
10 minutes

JavaScript async/await is a syntax that simplifies working with Promises, allowing asynchronous code to be written in a more synchronous and readable manner.

10
Await Syntax
10 minutes

The await syntax is used to pause the execution of an async function until a Promise is resolved or rejected, simplifying asynchronous code.

JS HTML DOM

1
DOM Intro
10 minutes

The Document Object Model (DOM) is a programming interface that allows scripts to dynamically interact with and manipulate the structure, style, and content of HTML or XML documents.

2
What You Will Learn
10 minutes

"What You Will Learn" outlines the key concepts or skills that will be covered in a tutorial or course.

3
DOM Methods
10 minutes

DOM methods are functions provided by the Document Object Model that allow you to interact with and manipulate HTML or XML documents, such as accessing, modifying, or creating elements.

4
DOM Document
10 minutes

The DOM Document is an interface that represents the entire HTML or XML document, providing methods and properties to access and manipulate its structure, content, and elements.

5
DOM Elements
10 minutes

DOM elements are individual components of an HTML or XML document, represented as objects in the DOM, that can be accessed and manipulated using properties and methods.

6
DOM HTML
10 minutes

DOM - Changing HTML refers to the process of dynamically modifying the content, structure, or attributes of HTML elements in a document using JavaScript.

7
Changing the Value of an Attribute
10 minutes

Changing the value of an attribute updates an element's property using JavaScript, typically with setAttribute() or direct assignment.

8
Dynamic HTML content
10 minutes

Dynamic HTML content is web content that changes in response to user interactions or programmatic updates.

9
DOM Forms
10 minutes

DOM Forms represent HTML <form> elements and provide methods and properties to access and manipulate form controls, such as input fields, buttons, and their values.

10
Automatic HTML Form Validation
10 minutes

Automatic HTML form validation uses built-in browser features to check user input based on form attributes like required, type, and pattern.

11
HTML Constraint Validation
10 minutes

HTML Constraint Validation checks user input against rules defined by form attributes like required, min, and pattern before submission.

12
DOM CSS
10 minutes

DOM CSS refers to the ability to access and manipulate the style properties of HTML elements through JavaScript, allowing dynamic changes to the appearance of a document.

13
DOM Animations
10 minutes

DOM Animation refers to using JavaScript to create and control animations by dynamically changing the properties of HTML elements over time within the Document Object Model.

14
DOM Events
10 minutes

DOM events are actions or occurrences that happen in the browser, such as user interactions (clicks, key presses) or changes in the document, which can trigger JavaScript functions to respond to those events.

15
HTML Event Attributes
10 minutes

HTML event attributes define actions to be executed when specific events, like clicks or input, occur on an element.

16
The onload and onunload Events
10 minutes

The onload and onunload events trigger actions when a page or element loads or unloads, often used for initialization or cleanup tasks.

17
DOM Event Listener
10 minutes

The DOM EventListener is an interface that allows JavaScript to listen for and respond to specific events on HTML elements.

18
Add an Event Handler to an Element
10 minutes

Adding an event handler to an element assigns a function to run when a specific event occurs, using methods like addEventListener().

19
Passing Parameters
10 minutes

Passing parameters involves providing values to a function so it can use them when executed.

20
DOM Navigation
10 minutes

DOM navigation refers to accessing and traversing the relationships between elements in an HTML document, such as parent, child, sibling, and other DOM node connections.

21
InnerHTML
10 minutes

innerHTML is a property of an HTML element that gets or sets the HTML content (including text and markup) inside the element.

22
DOM Nodes
10 minutes

DOM nodes are individual objects that represent elements, attributes, text, or other parts of a web page's document structure in the Document Object Model (DOM).

23
DOM Collections
10 minutes

DOM collections are groups of related DOM nodes (elements, attributes, or text) that can be accessed and manipulated as a list-like structure in JavaScript.

24
DOM Node Lists
10 minutes

DOM NodeLists are collections of nodes (elements, text, attributes, etc.) returned by methods like querySelectorAll(), which can be iterated over but may not support all array methods.

25
HTML DOM Node List Length
10 minutes

The HTML DOM NodeList length property returns the number of nodes in a NodeList.

JS Browser BOM

1
JS Window
10 minutes

The JavaScript window object represents the browser window and provides access to the global context, including the document, location, history, and other browser-related features.

2
Window Size
10 minutes

Window size refers to the dimensions of a browser window's viewport, accessible via window.innerWidth and window.innerHeight.

3
JS Screen
10 minutes

In JavaScript, screen is an object that provides information about the user's screen, such as its width, height, and color depth.

4
JS location
10 minutes

The location object in JavaScript provides information about the current URL and allows you to manipulate or redirect the browser to a different URL.

5
JS History
10 minutes

JavaScript history refers to the evolution of the programming language from its creation in 1995 by Brendan Eich to its current status as a versatile, widely-used language for web development.

6
JS Navigator
10 minutes

The JavaScript Navigator object provides information about the user's browser and operating system, including details like the browser name, version, and platform.

7
JS Popup Alert
10 minutes

A JavaScript popup alert is a message box that displays information to the user, typically used to alert or confirm an action.

8
Confirm Box
10 minutes

A confirm box is a dialog that prompts the user to choose "OK" or "Cancel," returning true or false based on the selection.

9
Prompt Box
10 minutes

A prompt box is a dialog that asks the user to enter input, returning the entered value or null if canceled.

10
JS Timing
10 minutes

JavaScript timing refers to the ability to execute code after a specified delay or at repeated intervals using functions like setTimeout() and setInterval().

11
How to Stop the Execution?
10 minutes

To stop execution in JavaScript, use return, break, or throw depending on the context (function, loop, or error).

12
The setInterval() Method
10 minutes

The setInterval() method repeatedly executes a function at specified intervals (in milliseconds).

13
JS Cookies
10 minutes

JavaScript cookies are small pieces of data stored in the user's browser, used to remember information across sessions or track user behavior.

14
Read a Cookie with JavaScript
10 minutes

To read a cookie in JavaScript, use document.cookie to access the cookie string and parse it for specific values.

15
The Cookie String
10 minutes

The cookie string is a semicolon-separated list of key-value pairs representing cookies, accessible via document.cookie.

16
A Function to Set a Cookie
10 minutes

A function to set a cookie assigns a name, value, and optional attributes (like expiration) to document.cookie.

17
A Function to Check a Cookie
10 minutes

A function to check a cookie searches document.cookie for a specific cookie name and returns its value if found.

JS Web APIs

1
Web APIs Intro
10 minutes

Web APIs are interfaces that allow web applications to interact with external services, hardware, or other resources, enabling functionality like geolocation, media access, and data storage.

2
Web Forms API
10 minutes

The Web Forms API allows developers to interact with and manipulate HTML forms, enabling tasks like form validation, data submission, and input handling.

3
Web History API
10 minutes

The Web History API allows developers to manipulate the browser's history, enabling actions like navigating between pages, adding states, and handling back/forward actions without reloading the page.

4
Web Storage API
10 minutes

The Web Storage API provides methods for storing and retrieving data in a web browser, allowing data to persist across page reloads, using localStorage and sessionStorage.

5
Web Workers API
10 minutes

The Web Workers API allows JavaScript to run background tasks in separate threads, enabling concurrent execution without blocking the main thread.

6
Web Fetch API
10 minutes

The Web Fetch API provides a modern, promise-based method to make network requests and handle responses asynchronously in JavaScript.

7
Web Geolocation API
10 minutes

The Web Geolocation API allows web applications to access the geographical location of a device, such as latitude and longitude.

JS AJAX

1
AJAX Intro
10 minutes

AJAX is a web development technique that allows asynchronous data exchange with a server, enabling dynamic updates to web pages without a full reload.

2
AJAX XMLHttp
10 minutes

AJAX uses the XMLHttpRequest object to send and receive data asynchronously between a web page and a server without reloading the page.

3
The onload Property
10 minutes

The onload property defines a function to be executed when an XMLHttpRequest request completes successfully.

4
The onreadystatechange Property
10 minutes

The onreadystatechange property is an event handler that triggers when the readyState of an XMLHttpRequest changes, typically used in AJAX requests.

5
AJAX Request
10 minutes

An AJAX request is a method for asynchronously sending data to and receiving data from a web server without reloading the entire page.

6
AJAX Response
10 minutes

AJAX - Server Response refers to the data sent back from the server after processing a client's request, which is then handled by JavaScript.

7
AJAX XML File
10 minutes

AJAX XML refers to using the XMLHttpRequest object to request and receive XML data asynchronously from a server.

8
AJAX PHP
10 minutes

AJAX PHP refers to using AJAX to send requests to a PHP script on the server, which processes the request and returns data to the client without reloading the page.

9
AJAX ASP
10 minutes

An AJAX ASP example demonstrates how to use AJAX to send requests to an ASP server script, which processes the request and returns data to the client without reloading the page.

10
AJAX Database
10 minutes

AJAX Database refers to using AJAX to send requests to a server, which interacts with a database to retrieve or modify data and then returns the results to the client without reloading the page.

11
AJAX Applications
10 minutes

Applications are software programs designed to perform specific tasks or functions for the user, such as word processing, web browsing, or database management.

JS JSON

1
AJAX Examples
10 minutes

AJAX examples are demonstrations of how to use AJAX techniques to send requests and receive data asynchronously from a server without reloading the web page.

2
What is JSON?
10 minutes

JSON (JavaScript Object Notation) is a lightweight, text-based format for storing and exchanging data, often used in web applications.

3
JSON Syntax
10 minutes

JSON syntax is a set of rules for formatting data as key-value pairs, using objects, arrays, and basic data types such as strings, numbers, and booleans.

4
JSON vs XML
10 minutes

JSON (JavaScript Object Notation) is a lightweight, human-readable data format, whereas XML (eXtensible Markup Language) is a more complex, structured format used for data representation and storage.

5
JSON Data Types
10 minutes

JSON data types are String, Number, Object, Array, Boolean, and null.

6
JSON parse
10 minutes

JSON.parse is a JavaScript method that converts a JSON string into a JavaScript object.

7
JSON stringify
10 minutes

JSON.stringify is a JavaScript method that converts a JavaScript object or value into a JSON string.

8
JSON Objects
10 minutes

A JSON object is a collection of key-value pairs, where the keys are strings and the values can be strings, numbers, arrays, booleans, objects, or null.

9
JSON Arrays
10 minutes

JSON arrays are ordered lists of values, which can be strings, numbers, objects, arrays, booleans, or null, enclosed in square brackets [].

10
JSON Server
10 minutes

JSON Server is a full fake REST API that allows you to quickly generate a mock server using a simple JSON file.

11
JSON PHP
10 minutes

JSON in PHP is a data format used for encoding and decoding data, allowing for easy transfer of data between a server and a client.

12
The Client JavaScript
10 minutes

Client-side JavaScript is a scripting language that runs in the user's web browser to create interactive web pages and handle events.

13
PHP Database
10 minutes

PHP Database refers to the use of PHP to interact with databases, such as MySQL, to store, retrieve, and manipulate data.

14
Use the Data
10 minutes

"Use the data" refers to accessing, processing, or manipulating data for a specific purpose in a program or application.

15
JSON HTML
10 minutes

JSON (JavaScript Object Notation) is a lightweight data interchange format that is easy for humans to read and write, and easy for machines to parse and generate, often used for transmitting data between a server and a web application.

16
JSONP JSONP
10 minutes

JSONP (JSON with Padding) is a technique used to overcome cross-domain restrictions in web browsers by loading JSON data from a different domain through a script tag.

JS vs jQuery

1
jQuery Selectors
10 minutes

jQuery DOM selectors are used to select and manipulate HTML elements in a web page using CSS-like syntax.

2
jQuery HTML
10 minutes

jQuery HTML refers to using jQuery to manipulate the HTML content, structure, and attributes of elements in a web page.

3
jQuery CSS
10 minutes

jQuery CSS refers to using jQuery to manipulate the CSS properties of HTML elements on a web page.

4
jQuery DOM
10 minutes

jQuery HTML DOM refers to using jQuery to navigate, manipulate, and interact with the elements of the HTML Document Object Model.

JS Graphics

1
JS Graphics
10 minutes

Graphics refers to the visual representation of data, objects, or designs created using images, shapes, and colors in digital or physical formats.

2
JS Canvas
10 minutes

JS Canvas is an HTML element that allows for dynamic, scriptable rendering of 2D shapes, images, and animations within a web page using JavaScript.

3
JS Plotly
10 minutes

JS Plotly is a JavaScript library for creating interactive, visually rich charts and graphs, including 2D and 3D plots.

4
Bubble Plots
10 minutes

Bubble plots are scatter plots with markers that vary in size, color, and shape to represent additional dimensions of data.

5
JS Chart.js
10 minutes

Chart.js is a JavaScript library for creating interactive, customizable, and responsive charts on web pages.

6
JS Google Chart
10 minutes

Google Charts is a free JavaScript library for creating interactive and customizable charts for web applications.

7
JS D3.js
10 minutes

D3.js is a JavaScript library for creating dynamic, interactive data visualizations using HTML, SVG, and CSS.

Be the first to add a review.

Please, login to leave a review
Start course
Enrolled: 2130 students
Lectures: 389
Level: Beginner

Archive

Working hours

Monday 9:30 am - 6.00 pm
Tuesday 9:30 am - 6.00 pm
Wednesday 9:30 am - 6.00 pm
Thursday 9:30 am - 6.00 pm
Friday 9:30 am - 5.00 pm
Saturday Closed
Sunday Closed
JavaScript Basic
Category: