Code Skiller logoCB Logo
Logo LearnLearnLogo PracticePracticeLogo HireHireLogo IDEIDE

JavaScript

An Introduction to Javascript!

Let's revisit the front-end analogy again:

As we all know the HTML, CSS provides structure and styling to the document. Now the question arises how to make our documents fun...

Read more

How to Run JavaScript Code

The primary way of writing and executing the JavaScript code is to write it in the "Script" of the HTML Document.

The example of the JavaScript written in the HTML Document using the Script tag is mentioned below - <...

Read more

Variables in Javascript

Variables in Javascript are the containers for storing the values of specific types. Variables can store a single value and there are three keywords in Javascript to store variables - Let, Var, and Const. The code showing the declaratio...

Read more

Numbers in JavaScript

Several Numeric notations are available in Javascript. Javascript Numbers are always stored as double-precision floating point numbers. In Javascript, there is only one type of numbers and those can be written without decimal and decimal. The exampl...

Read more

JavaScript Operators

The Operators in Javascript are used to perform mathematical operations in the Javascript Code. Several Operations like concatenation, adding two values, and so on can be achieved using operators.

Different Types of Operators in Javascript by whi...

Read more

Data Types in JavaScript

The Variables can have different values of data and the classification of data according to the variable is known as Data types.

This can be understood with the help of an example, for instance, various food items can be stored in the refrige...

Read more

Conditional Statements

The statements which perform as per the given specific conditions are known as Conditional Statements. There are four types of conditional statements in Javascript namely -

  • If Condition
  • Else Condition
  • Else If Condition
  • ...
Read more

Switch Statements

The Switch Statement in javascript is used to perform operations based on certain conditions. It has the same working as that of the Else-if condition.

There are cases in the switch statement and as per that cases, different conditions are made...

Read more

Loops in Javascript

Loops in Javascript iterate the code and we don't need to write similar things again and again. Instead, loops do this for us.

There are five types of loops in Javascript and all are mentioned below -

  • For Loop
  • While Loop
Read more

Arrays in JavaScript

We have variables to store the values. But when we have to store thousands of values, we have to make thousands of variables which will make the code much more hectic. So, the solution for such a case is "Array".

Array is a `linear data structure...

Read more

Strings in JavaScript

The collection of Characters is known as String. The strings can be declared using single quotes or double quotes. For instance:

let str = "Javascript is a good language;

We can extract the length of the string in Javascript by using the code ...

Read more

Objects in JavaScript

The objects in the javascript are something that has the properties and method. Let's take an example, everything we encounter in our day-to-day life is an object. For example, computers, mouse, and so on.

Such as in real life, In Javascript als...

Read more

Object Methods in JavaScript

Objects Methods in Javascript are the actions that can be performed on the objects. It is considered as the property that defines the properties of the objects.

This can be understood with the help of a simple example, In the image mentioned below...

Read more

Functions in JavaScript

Functions in Javascript is a block of code that will get executed specifically when it gets a call.

Moreover, the function acts like a VIP which will only come on invitation other it will never get invoked until gets called.

There are various use...

Read more

Object Referencing and Copying in JavaScript

The main difference between the objects and Primitive Data Values is that the objects are copied and stored by references. However, the Primitive Values are copied as whole values.

Let's take an example of the Primitive values mention...

Read more

' this' keyword

The this keyword in javascript always refers to an object. It refers to a block of code that is executing currently. Moreover, the this keyword references the object that is currently executing the function.

For instance, Rajesh is eating a piz...

Read more

Asynchronous Programming in JavaScript

Asynchronous Programming is the technique in which the tasks are performed parallel without waiting for another task to be completed. Javascript is Asynchronous Programming.

The concept of Asynchronous Programming can be understood by sim...

Read more

Callbacks in JavaScript

Callbacks in Javascript are the function that is passed as an argument to the other function such that it can be executed automatically after the execution of the function to which the callback is passed.

The concept of callbacks can be understoo...

Read more

Promises in JavaScript

Suppose, a large crowd is gathered at Mannat (which is the name of Shahrukh Khan's House) to know about the release date of Jawan. It's been a long since the new film Shahrukh Khan was released. So, to make fans satisfied, Shahrukh promised to l...

Read more

Constructor Functions in JavaScript

In JavaScript, constructor functions are used to create objects of the same type. They are a way of defining a blueprint for an object and then creating instances of that object.

Constructor functions are defined using the function keyword and are t...

Read more

Async and Await in JavaScript

Async and Await are the special syntaxes used to work with promises in Javascript in a comfortable manner.

Both the keywords Async and Await are used with promises in Javascript many times.

Async

Async is written before the function when u...

Read more

Type Conversion in Javascript

The process of converting data values from one data type to another is termed Type conversion in Javascript.

For instance, the Type conversion can be understood by a simple example of water. We can freeze water to make ice cubes...

Read more

DOM

DOM

DOM stands for Document Object Model. DOM is the collection of the attributes and tags of the HMTL. The concept of DOM can be understood with a simple example.

We're aware of the `...

Read more

Currying in JavaScript

The Currying is an advanced technique used in JavaScript to work with functions. The main work of currying is to transform the functions.

The concept of currying can be explained using a simple example of the Hotel that makes Chicken Dish orders....

Read more

Network Request

Network Requests

The Network Request can be understood with a simple example, Mukesh goes to buy some sweets which are not available in the shop but he want them urgen...

Read more

Library

WEB DEVELOPMENT

Basic

HTML - Hyper Text Markup Language

CSS - Cascading Style Sheets

JavaScript

An Introduction to Javascript!

How to Run JavaScript Code

Variables in Javascript

Numbers in JavaScript

JavaScript Operators

Data Types in JavaScript

Conditional Statements

Switch Statements

Loops in Javascript

Arrays in JavaScript

Strings in JavaScript

Objects in JavaScript

Object Methods in JavaScript

Functions in JavaScript

Object Referencing and Copying in JavaScript

' this' keyword

Asynchronous Programming in JavaScript

Callbacks in JavaScript

Promises in JavaScript

Constructor Functions in JavaScript

Async and Await in JavaScript

Type Conversion in Javascript

DOM

Currying in JavaScript

Network Request

Frontend

Backend

Interview Questions

FAANG QUESTIONS