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
- Host: GitHub
- URL: https://github.com/balakrishnan-10/callback-hell-async-programming-day-01
- Owner: Balakrishnan-10
- Created: 2024-06-09T10:10:47.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-09T10:18:52.000Z (12 months ago)
- Last Synced: 2025-01-23T08:42:53.902Z (4 months ago)
- Topics: callback-hell, css, settimeout
- Language: JavaScript
- Homepage: https://callback-hell-seven.vercel.app
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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 :