AJAX Intro

Read More

Integrated Into A Project

Solving It Add items to local storage Remember, the value assigned to searches is an array, and local storage can […]

Read More

Store Retrieve and Remove

You can store, retrieve and delete data using local storage built-in methods setItem(), getItem(), and removeItem(). Store Retrieve Remove Storage for Each Domain […]

Read More

Introducation

What is Local Storage? Local storage is built right into the web browser, and it exists as a property on […]

Read More

Nested Data & Flattening Arrays

Example This time, the initial value of reduce’s accumulator is an empty array []. Spread operator … allows an iterable such as an […]

Read More

Chaining Array Methods

Filter & Map Map method returns an array, and the same is true for the filter method. This is commonly […]

Read More

reduce()

A method that reduces an array of values into a single returned value after processing it. Unlike filter and map, […]

Read More

map()

What Is It? Use the map() method to transform elements in an array.Like filter(), map returns a new array leaving the original array […]

Read More

filter()

You can use Filter to remove items from an array, and place them in another array.Filter, doesn’t affect the original […]

Read More

forEach()

Arrays are sometimes referred to as List-like objects. forEach vs. for Loops forEach is an array method, just like push() or pop(), that […]

Read More

Using Closures

When to Use Closures? A closure is useful in hiding implementation detail in JavaScript. In other words, it can be […]

Read More

What Makes a Closure Different

When Does It Become a Closure? As per the closure definition, if inner function accesses the variables of outer function, […]

Read More

What is a Closure?

This is one of the important features in JavaScript.Closure means that an inner function always has access to the vars […]

Read More

Pseudocode to JavaScript

Write pseudo code in the text editor as comments to describe your program’s logic, and then write your actual code […]

Read More

How to Use Pseudocode

Some basic conventions for describing a program with input, variables, etc. Input You want to indicate that data is coming […]

Read More

What Is Pseudocode

Logic vs Syntax Logicis the order in which the program runs, the decisions made within the program, and how you […]

Read More

Replace & Reformat with Captured Groups

Parts of matched strings be “captured” for later use using group parentheses (). Captured groups allows you to pull out patterns […]

Read More

Validation in JavaScript

User Can only contain letters in lowercase Password Can contain any character, but must contain at least one lowercase letter, […]

Read More

Regex in JavaScript

Create a Regular Expression Test & Replace Test example Replace example Flags i Case-insensitiveg Global; keeps searching for the regexm Multiline; considers the […]

Read More

Regular Expressions

A regular expression is a way to describe a pattern in a string. With regular expression you can use the […]

Read More