💻 Today's Chaicode Class Takeaways We dived into JavaScript Events: Writing Events: Inline, eventName, Event Listeners Event Phases: Bubbling: child → parent Capturing: parent → child Controlling Propagation: stopPropagation() Event Delegation: Handle multiple children with a single parent listener #JavaScript #WebDevelopment #Coding #FrontEnd #EventHandling #Programming #LearnToCode #TechLearning #DeveloperLife #CodeNewbie #Chaicode Hitesh Choudhary Suraj Kumar Jha Hitesh ChoudharySuraj Kumar Jha
JavaScript Events: Bubbling, Capturing, and Delegation
More Relevant Posts
-
I just published my first blog on Dev.to! I wrote about the current value of JavaScript in 2026 and why it’s still one of the most important skills for developers. I’m still early in my learning journey, so I’d really appreciate any feedback or suggestions 🙌 Here’s the blog: https://lnkd.in/gqQkh-3a #JavaScript #WebDevelopment #LearningInPublic #Programming
To view or add a comment, sign in
-
30 Days JavaScript Challenge: Day 11 ✅ Today’s problem was about memoization , a concept where we store the result of a function call and reuse it when the same inputs come again. The goal was to return a memoized version of a function so that it doesn’t run multiple times for the same inputs and instead returns the cached result. It was interesting to see how this can optimize performance, especially for functions like factorial or fibonacci where repeated calculations can happen. Concepts like these show how small optimizations can make a big difference in real applications. 11 days in focusing on understanding not just how to write code, but how to write it efficiently. 💻🚀 #javascript #leetcode #webdevelopment #frontenddeveloper #codingchallenge #learninginpublic #developers #programming #buildinpublic
To view or add a comment, sign in
-
-
Turning concepts into clarity 💡 Exploring Arrays & Array Functions with a developer-style visual inspired by VS Code. Simple, structured, and beginner-friendly — because good code starts with strong fundamentals. #Programming #JavaScript #Coding #WebDevelopment #Learning
To view or add a comment, sign in
-
-
Recently started learning Go. My current approach: solve the problem in JavaScript first, then implement the same solution in Go. Why? Because it lets me separate algorithmic thinking from learning a new syntax. It’s a simple process, but so far it feels effective: understand the logic first, then strengthen Go through practice. Small steps, but consistent ones. #GoLang #Go #Programming #SoftwareDevelopment #BackendDevelopment #Coding #JavaScript
To view or add a comment, sign in
-
-
Event Bubbling vs Event Capturing: Mastering DOM Event Propagation Learn the difference between event bubbling and event capturing, when to use each, and how to implement them with clean, production‑ready JavaScript code. This tutorial walks you through concepts, practical examples, and best‑practice patterns. Read the full article 👇 https://lnkd.in/gYXpk-ST #JavaScript #WebDevelopment #Programming #Coding #Tech #EventPropagation #DOMEvents #EventBubbling #EventCapturing #FrontendEngineering #DigitalTransformation #FutureOfWork
To view or add a comment, sign in
-
-
Sharing beginner-friendly notes on Object-Oriented Programming (OOP) in JavaScript 🧠 Covered core concepts like Classes, Constructors, Inheritance, Encapsulation, Polymorphism, Getters/Setters, Static methods, and Private fields (#) with clear examples. Also explained how super, instanceof, and prototypes work behind the scenes. A practical guide to understanding how OOP works in modern JavaScript. Feedback and suggestions are welcome! #JavaScript #OOP #Coding #Learning #Programming
To view or add a comment, sign in
-
30 Days JavaScript Challenge : Day 10 ✅ Today’s problem was about creating a function that can be executed only once. The idea was to wrap a given function in such a way that: • it runs normally the first time • and returns undefined on every call after that It’s a small concept, but very useful in real scenarios where you want to prevent a function from running multiple times (like avoiding duplicate actions). 10 days in , just staying consistent and learning step by step. 💻🚀 #javascript #leetcode #webdevelopment #frontenddeveloper #codingchallenge #learninginpublic #developers #programming #100daysofcode
To view or add a comment, sign in
-
-
Hello everyone! I built a classic Rock Paper Scissors game, focusing on strengthening core programming fundamentals and clean code practices. 🔗 Repository: https://lnkd.in/dnhycKwv In this project, I worked on: • Conditional logic and decision-making • Handling user input • Randomized computer choices Feel free to check it out and share any feedback, I’d really appreciate it! 🙌 💡Live URL: https://lnkd.in/dwq_8JMV #programming #webdevelopment #frontend #github #javascript #coding
To view or add a comment, sign in
-
30 Days JavaScript Challenge : Day 17 ✅ Today’s problem was about designing a Time Limited Cache. The idea was to store key-value pairs, but with a twist each key should expire after a certain time. The class needed to support: • setting values with an expiry • retrieving values only if they’re still valid • counting how many keys are currently active This felt closer to a real-world problem, especially how caching systems work with expiration. It was interesting to think about how to manage time, state, and updates together in a clean way. 17 days in learning not just syntax, but how to think through problems. 💻🚀 #javascript #leetcode #webdevelopment #frontenddeveloper #codingchallenge #learninginpublic #developers #programming #buildinpublic
To view or add a comment, sign in
-
-
Online Compiler A fast, browser-based code editor supporting 10 programming languages with a VS Code-like experience. Live Link : https://lnkd.in/gHgrK_HF Source code : https://lnkd.in/g6Z6CiNJ Built with Next.js, TypeScript Would love your feedback 🙌 #NextJS #WebDevelopment #Programming #OpenSource #DeveloperTools
To view or add a comment, sign in
-
More from this author
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