Web development
4.14K subscribers
425 photos
31 videos
97 files
98 links
Web development learning path

Frontend and backend resources.

HTML, CSS, JavaScript, React, APIs and project ideas.

Join πŸ‘‰ https://rebrand.ly/bigdatachannels

DMCA: @disclosure_bds
Contact: @mldatascientist
Download Telegram
❀2πŸ‘1
JavaScript Event Loop: The Truth About setTimeout(0)

The Real Order of Operations:

1. Call Stack: Synchronous code (A, D) - This is where JavaScript executes code sequentially, like reading a script.

2. Microtasks: Promises (C) - These are small tasks that need to be executed ASAP after the current script, before the next rendering. Think of them as urgent side tasks.

3. Macrotasks: Timeouts/Intervals (B) - These are longer tasks that the browser queues up to do whenever it gets a chance. They're not as urgent as microtasks.

Golden Rule: "0ms" doesn't mean immediate - it means "next event loop tick".
❀6
🧩 JavaScript Quiz

In JavaScript, what does the "NaN" stand for?
Anonymous Quiz
74%
Not A Number
5%
No Answer Needed
14%
Notation of Null
8%
Negative Absolute Number
πŸ‘3
Input Types in HTML
❀4πŸ‘1
CSS Breakpoints For Web Developers
❀4πŸ‘1
🧩 JavaScript Quiz

Which method is used to add an element to the end of an array?
Anonymous Quiz
71%
.push()
16%
.concat()
11%
.pop()
2%
.slice()
JavaScript Array Methods Visualised
❀4
preventDefault() vs stopPropagation() vs stopImmediatePropagation()

When to Use What:

πŸ“ŒpreventDefault(): When you want to handle the action yourself

πŸ“Œ stopPropagation(): When parent elements shouldn't react

πŸ“Œ stopImmediatePropagation(): Nuclear option for plugin conflicts

90% of the time, you only need preventDefault().
❀2πŸ‘1
❀3
1. CSS isn’t broken β€” your div just gave up on life.
Try: min-height: 100vh; πŸš‘

== is for loose relationships.
Use === if you want commitment. πŸ’

Want faster sites?
Replace PNGs with webp. Smaller, sharper, sexier. πŸ“Έ


2. Centering in CSS used to be sorcery. πŸ§™β€β™‚οΈ
Now it’s just:
display: grid;
place-items: center;


3. Bored of boring bullets?
Spice up your list with:
list-style-type: 'πŸ”₯';


4.
z-index

not working?
Make sure the element isn’t a ghost.
position: relative;
❀6
ReactJS Project πŸ› "

Your ultimate collection of hands-on React projects! From beginner-friendly calculators to advanced game development, practice your skills with real-world applications. Build your portfolio while mastering React concepts through practical coding challenges

.
❀1