JavaScript Interview Series – Day 17 Let’s understand Event Bubbling vs Event Capturing in JavaScript. When an event occurs on an element, it travels through the DOM in two phases: 👉 Capturing Phase (Top → Down) 👉 Bubbling Phase (Bottom → Up) #JavaScript #NodeJS #WebDevelopment #FrontendDevelopment #Programming #SoftwareEngineering #InterviewPreparation
Event Bubbling vs Capturing in JavaScript
More Relevant Posts
-
JavaScript Interview Series – Day 18 Let’s understand What is Event Delegation in JavaScript. Event Delegation is a technique where we attach a single event listener to a parent element instead of adding listeners to multiple child elements. It works because of event bubbling. #JavaScript #NodeJS #WebDevelopment #FrontendDevelopment #Programming #SoftwareEngineering #InterviewPreparation
To view or add a comment, sign in
-
-
JavaScript Interview Series – Day 2 Let’s understand Callback vs Promise in JavaScript. A callback is a function passed as an argument and executed later. A promise is an object that represents the result of an async operation. Callbacks can lead to callback hell when nested, while promises provide a cleaner and more readable approach. #JavaScript #NodeJS #WebDevelopment #Programming #SoftwareEngineering #InterviewPreparation
To view or add a comment, sign in
-
-
JavaScript Interview Series – Day 5 Let’s understand What is Callback Hell? Callback hell happens when multiple callbacks are nested inside each other, making the code hard to read and maintain. It usually occurs in asynchronous operations when callbacks depend on previous results. #JavaScript #NodeJS #WebDevelopment #Programming #SoftwareEngineering #InterviewPreparation
To view or add a comment, sign in
-
-
JavaScript Interview Series – Day 19 Let’s understand Debouncing vs Throttling in JavaScript. Both are used to control how often a function executes, especially in events like scroll, resize, and search input. 🔎 Key Difference • Debounce → waits for pause • Throttle → limits execution rate #JavaScript #NodeJS #WebDevelopment #FrontendDevelopment #Programming #SoftwareEngineering #InterviewPreparation
To view or add a comment, sign in
-
-
Synchronous vs Asynchronous JavaScript — Explained Simply 🚀 One of the most important concepts in JavaScript is understanding blocking vs non-blocking execution. #JavaScript #AsynchronousJavaScript #Programming #WebDevelopment #NodeJS #Coding #Developer #FrontendDevelopment #BackendDevelopment #SoftwareDevelopment #Tech #LearnToCode #Developers #AsyncAwait #ProgrammingTips
To view or add a comment, sign in
-
-
JavaScript Interview Series – Day 6 Let’s understand What is Promise Chaining? Promise chaining allows us to execute multiple asynchronous operations in sequence using .then(). Instead of nesting callbacks, we can chain promises, making the code cleaner and more readable. #JavaScript #NodeJS #WebDevelopment #Programming #SoftwareEngineering #InterviewPreparation
To view or add a comment, sign in
-
-
JavaScript Interview Series – Day 15 Let’s understand What is == vs === in JavaScript. Both are used for comparison, but they behave differently. 🔎 Key Difference • == → compares after type conversion • === → compares value + type (strict) #JavaScript #NodeJS #WebDevelopment #Programming #SoftwareEngineering #InterviewPreparation
To view or add a comment, sign in
-
-
JavaScript Array Methods every developer must know. Stop writing for loops for everything — these methods make your code cleaner and faster. Save this for later! 🔖 #JavaScript #WebDevelopment #Programming #Frontend #100DaysOfCode
To view or add a comment, sign in
-
-
JavaScript Interview Series – Day 11 Let’s understand What is Hoisting in JavaScript. Hoisting is JavaScript’s default behavior of moving variable and function declarations to the top of their scope during the compilation phase. However, only declarations are hoisted not initializations. #JavaScript #NodeJS #WebDevelopment #Programming #SoftwareEngineering #InterviewPreparation
To view or add a comment, sign in
-
-
JavaScript Interview Series – Day 8 Let’s understand How setTimeout works internally in JavaScript. Even though setTimeout looks simple, it works using the Event Loop mechanism. When setTimeout is called, it is handled by Web APIs, and after the timer completes, the callback is moved to the Callback Queue. The Event Loop pushes it to the Call Stack only when it becomes empty. #JavaScript #NodeJS #WebDevelopment #Programming #SoftwareEngineering #InterviewPreparation
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development