💻 Day 8 of Coding Today I learned about Object-Oriented Programming concepts in JavaScript: 📚 Topics Covered: • Objects & Prototypes • Classes and Constructors • Inheritance • super keyword Understood how: • Objects can share properties using prototypes • Classes act as a blueprint for creating objects • Child classes inherit from parent classes • Method overriding works in inheritance 🛠️ Practiced by solving problems: • Created a User class with properties and methods • Built an Admin class inheriting from User • Added functionality using inheritance and methods ⚠️ Honest reflection: Today felt a bit confusing. I wasn’t very energetic and understanding these concepts took more effort than usual. But I realized: Some topics take time to fully understand It’s okay to feel stuck sometimes Practice is the only way to get clarity Still showing up and learning every day 🚀 #JavaScript #WebDevelopment #100DaysOfCode #Learning
Learning Object-Oriented Programming in JavaScript
More Relevant Posts
-
💻 Day 9 of Coding Today I explored one of the most important concepts in JavaScript — asynchronous programming. 📚 What I learned: • Difference between Synchronous & Asynchronous execution • How synchronous code runs step-by-step • Why asynchronous programming is needed to avoid blocking • Callbacks: Passing functions as arguments Understanding how async tasks are handled • Callback Hell: Nested callbacks forming a “pyramid of doom” Difficult to read and manage • Promises: Handling async operations more cleanly States: Pending, Resolved, Rejected Using resolve() and reject() • Async / Await: Writing async code in a cleaner, readable way await pauses execution until promise is resolved • IIFE (Immediately Invoked Function Expression) ⚠️ Still learning: • .then() and .catch() with promises What I realized: Async JavaScript is powerful but takes time to understand Concepts are getting deeper and more interesting Practice is key to mastering this Still learning step by step 🚀 #JavaScript #WebDevelopment #100DaysOfCode #Learning
To view or add a comment, sign in
-
Many people do not struggle with JavaScript because of syntax. They struggle because they never really understand how programs work. You can learn functions, objects, and even build small features. But when things get slightly complex, it becomes difficult to trace what is happening and why. That is where the gap lies. Learn JavaScript from Scratch by Sanjay Vyas focuses on building that understanding from the ground up. In this course, you will learn to: • Understand how JavaScript actually works using code visualization techniques • Build strong fundamentals across objects, arrays, functions, and asynchronous behavior • Apply concepts by creating your own web app step by step With 40+ years of teaching experience, the focus is not just on writing code, but on thinking through it. Explore the course here: https://lnkd.in/grNMMXek #JavaScript #Programming #WebDevelopment #LearnToCode
To view or add a comment, sign in
-
-
Callbacks in JavaScript seem simple at first… until you build something real 😅 I recently explored why callbacks exist and what problems they actually solve in async programming. But the interesting part? The problems they introduce… Think of a real flow: Order → Payment → Delivery Now implement it with callbacks… You’ll quickly hit: 🔺 Callback Hell (Pyramid of Doom) 🔗 Function Dependency 🤯 Inversion of Control In this blog, I broke everything down from basics → real-world examples → problems If you’re learning JavaScript deeply, this one will definitely help https://lnkd.in/gdNU466a Drop your feedback in comments....
To view or add a comment, sign in
-
-
Excited to dive into the world of object-oriented programming in JavaScript? 🚀 JavaScript has come a long way from its prototypal roots to embracing classes in ES6 for a more structured approach. Say goodbye to confusing prototype chains and hello to cleaner object blueprints! 💻 Imagine creating a class like building your very own robot. With constructors for initialization and methods for interaction, JavaScript classes make it feel like playing with virtual Legos! 🤖 Just like how AI extends the capabilities of robots, JavaScript classes allow for hierarchy and inheritance, showcasing the power of encapsulation in programming. It's like passing down a family business from one generation to the next! 👨👦👦 And the fun doesn't stop there! JavaScript classes offer getters, setters, and even static methods for added flexibility. It's like having different tools in your programming toolbox for every job! 🔧 Mastering JavaScript classes not only enhances your coding skills but also unlocks endless possibilities for building robust applications. So, why not level up your coding game and embrace the modern way of OOP with JavaScript classes? 🌟 #JavaScript #OOP #CodingFun #TechEvolution
To view or add a comment, sign in
-
Day 98 of my #100DaysOfCodeChallenge Today I explored Object-Oriented Programming in JavaScript using classes. Here’s what I worked on: Built a Product class with methods to display details and calculate total price Learned how constructors initialize object properties Implemented static properties and methods using a utility class Created a User class to track the number of users created This helped me understand the difference between instance-level and class-level behavior, and how to structure code more effectively. It’s a shift from just writing functions to designing systems. #JavaScript #OOP #WebDevelopment #SoftwareEngineering
To view or add a comment, sign in
-
Most people “learn” JavaScript. Few actually understand it. After completing “Namaste JavaScript” by Akshay Saini 🚀, I realised : 👉 Hoisting isn’t magic 👉 Closures aren’t confusing 👉 The Event Loop isn’t scary It’s all about understanding the engine behind the code. This course helped me shift from: ❌ Copying code ➡️ Thinking like a developer Now the real journey begins — building, failing, and improving. If you're learning JavaScript, don’t rush. Depth > speed. #JavaScript #Programming #LearningInPublic #WebDev #AkshaySaini
To view or add a comment, sign in
-
-
𝐃𝐚𝐲 𝟏𝟑/𝟏𝟓 𝐨𝐟 𝐦𝐲 𝐉𝐚𝐯𝐚𝐒𝐜𝐫𝐢𝐩𝐭 𝐉𝐨𝐮𝐫𝐧𝐞𝐲 🚀 Somehow… things that felt confusing before are starting to make sense now. 💡 What I learned: Async/Await in JavaScript How to write cleaner asynchronous code How it simplifies Promises 🧠 What I understood: Promises were a bit confusing… Too many .then() and .catch() But Async/Await makes it look like normal code. It feels more readable. More simple. Less messy. At first, I didn’t understand how it works internally… But when I compared it with promises, it became clearer. 📌 My biggest takeaway: Good code is not just about working… It’s about being readable. Async/Await made things much easier to understand. Still learning… Still improving… See you on Day 14 🚀 #JavaScript #CodingJourney #LearningInPublic #Day13 #AsyncAwait #WebDevelopment #Consistency #Programming
To view or add a comment, sign in
-
-
𝐃𝐚𝐲 𝟏𝟐/𝟏𝟓 𝐨𝐟 𝐦𝐲 𝐉𝐚𝐯𝐚𝐒𝐜𝐫𝐢𝐩𝐭 𝐉𝐨𝐮𝐫𝐧𝐞𝐲 🚀 Not gonna lie… Today’s topic felt a bit confusing. But I didn’t skip. 💡 What I learned: Promises in JavaScript .then() and .catch() Handling asynchronous code 🧠 What I understood: JavaScript doesn’t always run things step by step. Some tasks take time… Like fetching data from an API. Promises help handle those situations. At first, I didn’t understand why we even need promises… But after learning about async tasks, it started making sense. 📌 My biggest takeaway: Not everything happens instantly in coding… And that’s okay. Learning how to handle delays is part of becoming a developer. Still learning… Still pushing through confusion… See you on Day 13 🚀 #JavaScript #CodingJourney #LearningInPublic #Day12 #Promises #WebDevelopment #Consistency #Programming
To view or add a comment, sign in
-
-
🚀 JavaScript Learning Simplified – Smart Notes by Bassam I’ve created these structured and easy-to-understand JavaScript notes to help students and beginners build a strong foundation in web development. 📌 This guide covers: ✔️ Introduction to JavaScript ✔️ Core Concepts (Variables, Data Types, Operators, Control Flow) ✔️ Functions & Arrow Functions ✔️ DOM Manipulation ✔️ Events & User Interaction These notes are designed to make learning clear, visual, and practical—perfect for students preparing for exams or anyone starting their journey in programming. 💡 My goal is to simplify complex concepts and make learning more engaging. #JavaScript #WebDevelopment #Programming #StudentSupport #Learning #Coding #FrontendDevelopment #BassamNotes
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
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