An open API service indexing awesome lists of open source software.

https://github.com/balakrishnan-10/callback-hell-async-programming-day-01

Callback hell, setTimeout - Async Programming
https://github.com/balakrishnan-10/callback-hell-async-programming-day-01

callback-hell css settimeout

Last synced: 3 months ago
JSON representation

Callback hell, setTimeout - Async Programming

Awesome Lists containing this project

README

        

# CallBack Hell - Async Programming Day 01

## Vercel Deployment Link : https://callback-hell-seven.vercel.app/

## Callback Hell :

* Callback hell is a phenomenon where a Callback is called inside another Callback. It is the nesting of multiple Callbacks inside a function. If you look at the design of the code, it seems just like a pyramid.

* Thus the Callback hell is also referred to as the 'Pyramid of Doom'.

## setTimeout :

* The setTimeout() method executes a block of code after the specified time. The method executes the code only once.

```javascript
Syntax :

setTimeout(function, milliseconds);
```
* Its parameters are:
1. function - a function containing a block of code
2. milliseconds - the time after which the function is executed

## Git Commands :

```git
git init
git add .
git commit -m "commit message"
git branch -M main
git remote add origin "github URL"
git push origin main
```
## Used TOOL & IDE :

git
vscode