himanshugopalkdwivedi.hashnode.dev·18 hours ago(lt.37)Color changer in DOMHere i will demonstrate a simple program to how to change the background color of any web page . Html code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> ...Discuss·10 likescolors in javascript
himanshugopalkdwivedi.hashnode.dev·19 hours ago(lt.36)Mastering the DOM: Building Dynamic and Interactive Webpages with JavaScriptIntroduction: The Document Object Model (DOM) in JavaScript is a programming interface that represents the structure of HTML and XML documents as a tree-like structure. Just like we target html through CSS , same way DOM helps us to target the html t...Discuss·10 likesDOM
Sailesh ShresthaforJoBins Engineeringblog.jobins.jp·Apr 24, 2024Mastering JavaScript DOM Manipulations: Enhancing Performance and EfficiencyIn web development, JavaScript DOM manipulation is key for creating dynamic web pages. It enables developers to add interactivity to static HTML and CSS. However, excessive DOM operations can slow down performance. In this blog post, we'll explore DO...DiscussDOM
Ben Orloffblog.benorloff.co·Apr 16, 2024Build a Slider With DOM EventsIntro Sliders (or "carousels") are a great UI option for displaying large blocks of content in a way that doesn't clutter the UX. They come in all shapes and sizes, but ultimately they share a common goal: allow the user to interact with content beyo...DiscussDOM
Priyanshu Dubeypdkijava.hashnode.dev·Apr 16, 2024Drag And Drop Effect Using JavaScriptWhen learning JavaScript, the aim is to practice in order to gain a clear understanding of specific concepts. What better way to practice than by creating real-world projects? With that objective in mind, by the end of this article, you'll be capable...Discuss·1 likeJavaScript
OBULIPURUSOTHAMAN Kobulipurusothaman.hashnode.dev·Apr 12, 2024Javascript SnippetsGet current date and time const now = new Date(); EXPLANATION : The code const now = new Date(); is written in JavaScript and creates a new instance of the Date object, assigning it to the variable now. Here's a breakdown: new Date(): This is a con...Discuss·20 likesJavaScript
OBULIPURUSOTHAMAN Kobulipurusothaman.hashnode.dev·Apr 11, 2024OBJECT ORIENTED PROGRAMMING SYSTEM(OOPs) IN JAVASCRIPTOOPS IN JAVASCRIPT Despite being primarily known as a scripting language for web development, JavaScript offers powerful object-oriented programming (OOP) capabilities. OOP allows you to create reusable and modular code, leading to more maintainable ...Discuss·32 likesJS OOPS
Ankita Sharmacodecraftbyankita.hashnode.dev·Apr 10, 2024React Fragments: Cleaner Code and Better StructureIntroduction Imagine you're packing items for a trip. Usually, you'd put everything in a suitcase, right? But what if you have a few small items that don't need a suitcase of their own? You could just group them together in your hand or in a small ba...Discussreact fragment
Gagan BNgagan-bn.hashnode.dev·Apr 4, 2024Mutation observer in vanilla JSIntroduction to Mutation Observer in JavaScript Mutation Observer is a powerful API in JavaScript that simplifies the process of observing mutations in the DOM tree and notifying developers about the changes. In the past, developers had to rely on va...DiscussDOM
Shahi ShreshthforTechLearn Indiablog.techlearnindia.com·Apr 2, 2024Mastering the DOM: Manipulating the Web Page (For Beginners)Have you ever wondered how websites dynamically update content, respond to user interaction, or display interactive elements like animations? The magic behind this lies in the DOM, also known as the Document Object Model. Today, we'll embark on a beg...DiscussDOM