🚀 Day 46 of My JavaScript Learning Journey Understanding DOM, BOM & the Window Object Today, I explored one of the most important pillars of frontend development — JavaScript DOM Manipulation. This session helped me understand how JavaScript interacts with the browser and dynamically controls web pages. 🔍 What I Learned 🌐 Window Object •The top-level global object in the browser •All global variables & functions belong to it •Controls browser actions like opening/closing tabs •Example: window.open(), window.close(), console.log() 📄 DOM (Document Object Model) •Represents HTML as a tree of nodes •HTML elements become JavaScript objects •document is a child of window •Enables dynamic actions like: •Accessing elements •Updating content •Adding or removing elements 🧭 BOM (Browser Object Model) •Handles browser-level features (not HTML) •Includes navigation, history, screen size, etc. •Helps JavaScript communicate with the browser environment 💡 Key Takeaway The DOM connects JavaScript to HTML, while the BOM connects JavaScript to the browser — together, they power dynamic and interactive web applications. 📈 Learning DOM manipulation is a major step toward building real-world features like dynamic UI updates, form handling, and interactive components. Onward to more hands-on frontend development! 🚀 #JavaScript #DOM #WebDevelopment #FrontendDevelopment #LearningInPublic #100DaysOfCode #TechJourney #StudentDeveloper #MERNStack
JavaScript DOM Manipulation: Understanding Window Object, DOM & BOM
More Relevant Posts
-
💻 JavaScript Basic Project | Age Calculator I built a basic Age Calculator using HTML, CSS, and JavaScript as part of my frontend practice. This project takes the user’s date of birth and calculates the age in years, months, and days using JavaScript date logic. 🔹 Technologies Used: • HTML • CSS • JavaScript 🔹 What I learned: ✔ JavaScript Date object ✔ Basic UI design ✔ Logic building This is a beginner-level project, but it helped me understand how real-time calculations work in JavaScript. 📌 Learning step by step 🚀 Feedback is always welcome! #JavaScript #HTML #CSS #BeginnerProject #WebDevelopment #Learning #StudentDeveloper
To view or add a comment, sign in
-
🔥 “JavaScript can turn ideas into interactions — not just websites!” At Learn JavaScript, we explored how a simple concept becomes powerful when logic meets creativity. Here’s a quick breakdown 👇 🎯 What We Built: We converted a static idea into an interactive experience using JavaScript — showing how code controls behavior, motion, and user response. 💡 What We Learned: • 🧠 DOM Selection – Accessing and controlling elements efficiently. • 🖱️ Event Listeners – Responding to clicks, hovers, and user actions. • 🎨 Style Manipulation – Changing colors, size, and visibility dynamically. • 🔁 Conditional Logic – Controlling flow using if / else. • ⏱️ Timing Functions – Creating smooth effects with delays and intervals. 👉 Follow me Learn Javascript for more practical lessons, creative projects, and beginner-friendly JavaScript content! #LearnJavaScript #JavaScriptLearning #WebDevelopment #FrontendDeveloper #CreativeCoding #JSProjects #CodeWithPurpose
To view or add a comment, sign in
-
HTML is not “basic” (we just treat it that way) Most of us rushed through HTML. You learned a few tags, built a page, then moved straight to CSS, JavaScript, or a framework. Later on, you noticed something: 🔺Your layouts were hard to fix 🔺Your CSS kept growing 🔺 You needed JavaScript for things that felt unnecessary That’s usually not a CSS or JS problem. It’s an HTML problem. Good HTML gives your page structure. It tells the browser what matters, what belongs together, and what doesn’t. When your HTML is clean, everything else becomes easier: 🔹 Styling makes sense 🔹 JavaScript gets simpler 🔹 Your app is easier to maintain HTML isn’t “beginner stuff.” It’s the foundation most of us skipped. Learn the basics of JS from Scribbler.Live JavaScript Mastery and W3Schools w3schools.com Share this with a friend who might find it useful 🚀 Follow Abhishek Chhugani for more web development insights and knowledge 🔥 #FullStackDeveloper #SoftwareEngineering #WebDevelopment #CodingLife #HTML #TechCareers #Javascript #ReactJS #NodeJS #AIInTech #BuildInPublic #DeveloperCommunity #EngineeringLeadership #TechTrends #Programming #CareerGrowth
To view or add a comment, sign in
-
-
🚀 Day 42 of My JavaScript Journey — Exploring the DOM (Document Object Model) Today was all about diving deeper into the DOM (Document Object Model) and understanding how JavaScript can control and manipulate web pages in real time. Instead of just writing static HTML and CSS, I learned how to make websites dynamic, interactive, and responsive to user actions. 📌 What I learned today: 🔹 DOM Basics I understood how the DOM represents an HTML document as a structured tree of elements, which JavaScript can access and modify. 🔹 Selecting Elements in the DOM I practiced multiple ways to select elements: getElementById() getElementsByClassName() getElementsByTagName() querySelector() querySelectorAll() This helped me understand when and why to use each method. 🔹 Manipulating Content I learned how to change content dynamically using: innerText innerHTML textContent 🔹 Styling with JavaScript I explored how to change CSS styles directly using JavaScript and understood why using classes is often better for larger styling changes. 🔹 Event Listeners & Interactivity I learned how to make web pages interactive using events like: click mouseover keydown submit This made it clear how user actions connect with JavaScript logic. 🔹 Randomness + DOM Logic One of the most interesting parts was learning how to use Math.random() with DOM manipulation to create unpredictable and dynamic behavior on a webpage — like random colors, positions, and elements. 🛠️ Task Practice: Counter Project To strengthen my understanding, I built a simple counter using: Increase button Decrease button Reset button This task helped me connect theory with practical implementation and improved my DOM fundamentals. 💭 What I realized: Learning the DOM is not just about syntax — it’s about understanding how websites actually work behind the scenes. The more I practice manipulating elements and handling events, the more confident I feel about building real-world interactive UI. 🙏 Thanks to Sheryians Coding School for providing structured guidance and hands-on challenges that push me to grow every day. 📈 Step by step, I’m moving closer to becoming a better frontend developer. #JavaScript #DOM #WebDevelopment #FrontendDevelopment #LearningJourney #Coding #SheryiansCodingSchool #100DaysOfCode
To view or add a comment, sign in
-
-
🚀 Frontend Project: CRUD Application (JavaScript) 🧾 I built a simple CRUD (Create, Read, Update, Delete) application using HTML, CSS, and JavaScript as part of my frontend learning journey. This project allows users to add employee details and manage them dynamically in a table. Users can add new records, edit existing data, update changes, and delete records directly from the table without refreshing the page. The project helped me understand how to handle form inputs, manipulate the DOM, and manage user actions using JavaScript event handling. Key Features: • Add data using form inputs • Display records in a dynamic table • Edit and update existing records • Delete records instantly • Input validation for empty fields • Clean and responsive UI 🔗 Live Demo: https://lnkd.in/gssG3ksP ⚠️ Note: Please open this project on a laptop or desktop for the best experience. This project helped me improve my understanding of JavaScript logic, DOM manipulation, event delegation, and building real-world interactive applications. I am learning frontend development by building small projects step by step. Any feedback or suggestions are welcome 😊 #StudentDeveloper #JavaScript #HTML #CSS #FrontendDevelopment #CRUD #WebProjects #LearningByDoing
To view or add a comment, sign in
-
🚀 New Project Alert: JavaScript Todo List App I’ve built a Todo List application using Vanilla JavaScript to strengthen my fundamentals in front-end development and DOM manipulation. This project focuses on writing clean logic, user-friendly UI, and real-world functionality without relying on external libraries. 🔹 Key Features: Add tasks instantly Delete tasks with a single click Simple, clean, and responsive UI Focused on DOM manipulation & event handling Beginner-friendly yet scalable structure 🔹 Tech Stack: HTML CSS JavaScript (Vanilla JS) 🔹 What I Learned: Efficient DOM traversal and updates Event listeners and dynamic UI rendering Writing maintainable JavaScript code Improving UX through clean design 📂 GitHub Repository: 👉 https://lnkd.in/dNRs6VjH I’m consistently building small projects like this to improve my problem-solving and front-end skills. Feedback and suggestions are always welcome. #JavaScript #WebDevelopment #Frontend #LearningByBuilding #GitHubProjects #100DaysOfCode #SelfImprovement
To view or add a comment, sign in
-
-
While learning JavaScript, I started exploring the DOM API (Document Object Model) and realized how important it is for building interactive web applications. The DOM is a tree like representation of an HTML document that the browser creates. JavaScript uses the DOM API to read, modify, add, or remove elements on a webpage without reloading the page. 𝗪𝗵𝘆 𝘁𝗵𝗲 𝗗𝗢𝗠 𝗔𝗣𝗜 𝗺𝗮𝘁𝘁𝗲𝗿𝘀 • It allows JavaScript to interact with HTML and CSS • Enables dynamic content updates • Foundation of modern frameworks like React, Vue, and Angular 𝗖𝗼𝗺𝗺𝗼𝗻 𝗗𝗢𝗠 𝗔𝗣𝗜 𝗲𝘅𝗮𝗺𝗽𝗹𝗲𝘀 document.getElementById('id'); document.querySelector('.btn'); element.addEventListener("click", handler); Understanding the DOM API helped me better understand how JavaScript actually controls the browser behind the scenes. #JavaScript #DOM #WebDevelopment #FrontendDevelopment #ProgrammingBasics #LearningJavaScript #DeveloperJourney #TechLearning
To view or add a comment, sign in
-
🚀 Built a browser-based Image Editor using pure Vanilla JavaScript No libraries. No frameworks. Just HTML, CSS, JavaScript. This image editor lets you upload any image from your device and edit it directly in the browser using filters like: 1.Brightness 2.Contrast 3.Saturation and more The real learning came from working with the <canvas> element — drawing images, manipulating pixel data, and rendering a new edited version in real time. Through this project, I strengthened my understanding of: 👍DOM manipulation with Vanilla JS 👍Canvas drawing & image rendering 👍Handling user input and UI state 👍Writing clean, browser-native logic Projects like this remind me why I enjoy JavaScript so much — it gives you low-level control and forces you to truly understand what’s happening under the hood. Still learning. Still building. Feedback is always welcome 👇 #JavaScript #VanillaJS #WebDevelopment #FrontendDeveloper #CanvasAPI #Projects #LearningByBuilding
To view or add a comment, sign in
-
🚀 Day 48 of My JavaScript Learning Journey DOM Manipulation: Styling Elements with JavaScript Today I learned how JavaScript controls CSS styles directly through the DOM, and why understanding CSS specificity matters when doing so. 🔑 Key Learnings 🎯 CSS & Specificity Recap •CSS can be applied via external, internal, and inline methods •Inline CSS has the highest priority, which makes JavaScript-powered styling very powerful 🖌️ Manipulating Inline Styles • .style → used to get or set a single CSS property •Example: element.style.backgroundColor = "red" •Limitation: one property at a time ⚡ Multiple Styles at Once • .cssText → apply multiple styles in one go •Faster, but ⚠️ overwrites all existing inline styles 💡 Key Takeaway JavaScript can directly override CSS through inline styles, but choosing the right method (.style vs .cssText) is critical to avoid unexpected UI issues. Hands-on DOM styling makes web pages truly dynamic! 🎨 #JavaScript #DOM #CSS #FrontendDevelopment #WebDevelopment #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
Excited to share a simple yet useful To-Do List Application built using HTML, CSS, and JavaScript 🎯 🔹 Features: ✅ Add new tasks ✅ Mark tasks as completed ✅ Delete tasks ✅ Clean and responsive UI ✅ Beginner-friendly logic 🔹 What was learned: • DOM manipulation using JavaScript • Event handling • UI styling with CSS • Writing clean and structured code This project helped strengthen core JavaScript fundamentals and improved confidence in frontend development 💻 Grateful for the guidance and continuous learning journey 🙌 the special thanks to #SurajPawar sir and also #LeadsOfPlacementAcademy link:https://lnkd.in/gZyXKDnZ More projects coming soon! #WebDevelopment #HTML #CSS #JavaScript #FrontendDevelopment #MiniProject #LearningByDoing #StudentDeveloper
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
More power to you 🙌