Sharing my learnings: Critical Rendering Path - In simple terms, it’s the process the browser follows to convert HTML, CSS, and JavaScript into pixels on the screen. Here’s how it works: - Browser receives HTML from the server - HTML is parsed → DOM is created - CSS is parsed → CSSOM is created - DOM + CSSOM → Render Tree Browser renders in steps: - Style calculation - Layout - Paint - Composite The goal? Show content to the user as fast as possible (First Contentful Paint). #frontend #webperformance #javascript #react #learninginpublic
Browser Rendering Process Simplified
More Relevant Posts
-
CSS in 2025–2026 is quietly replacing JavaScript for things we never thought possible. Here's what's new: 🔹 if() function — write conditional logic directly inside a CSS property. No more duplicating media queries. 🔹 @function — define reusable CSS functions like --half(--value) natively. No Sass needed. 🔹 @mixin / @apply — Sass mixins are now a CSS native. Share layout patterns without a build step. 🔹 Customizable <select> — finally style dropdown menus fully with CSS using appearance: base-select. Zero JavaScript. 🔹 sibling-index() — elements now know their DOM position. Staggered animations in pure CSS. 🔹 Animate to auto — height: auto transitions now work with interpolate-size: allow-keywords. 🔹 Scroll state container queries — style stuck or snapped elements without IntersectionObserver. 🔹 contrast-color() — auto-pick readable text color based on background luminance. WCAG by default. 🔹 HTML Popover API — open/close behavior with keyboard support and light-dismiss. No JS required. CSS used to be design. JavaScript was interactivity. That line is disappearing fast. Which of these are you most excited to use? #CSS #WebDevelopment #Frontend #HTML #JavaScript #WebDesign
To view or add a comment, sign in
-
-
What if your CSS could read DOM state without a single line of JavaScript? CSS :has() makes this real. Form field highlights, tab indicators, card state variants that used to need JS class-toggling can now live entirely in your stylesheet. https://lnkd.in/eaC8d4gU #WebDev #CSS #WebPlatform
To view or add a comment, sign in
-
Built an interactive analog clock using HTML, CSS, and JavaScript — focusing on real-time DOM manipulation, CSS transformations, and precise time tracking with setInterval().
To view or add a comment, sign in
-
CSS :has() just flipped the script on how we style components. - Remember reaching for JavaScript just to style a parent based on its child's existence? - Or having to add extra classes for specific content scenarios? - Now, dynamic UI adjustments can live purely in your stylesheets. What are your most creative use cases for :has() so far? #FrontendDevelopment #CSS #WebDesign #WebDevelopment
To view or add a comment, sign in
-
-
This JavaScript library completely changed how I think about text. I’ve been working on my portfolio recently using the Pretext library by Cheng Lou and it’s absurd. Pretext is a JavaScript library that lets you break out of traditional CSS and DOM constraints and build truly dynamic UI. Instead of rendering everything and asking the DOM what happened, with Pretext you compute and measure everything first, then render once. This shift feels small, but it opens the door to more innovative, dynamic interfaces that aren't limited by typical layout rules. Check it out👇 : https://lnkd.in/ghedSc_K Pretext by Cheng Lou: https://lnkd.in/dy2n-utx #pretext #webdev #javascript #react #userinterface
To view or add a comment, sign in
-
Day 15 of My JavaScript Journey 🚀 Today, I was introduced to the basics of HTML. HTML (HyperText Markup Language) is used to structure the content of a web page not to style or add functionality, but to define elements like text, images, and links. I also learned about attributes, classes, and IDs. Classes and IDs are used to name elements so they can be selected in CSS for styling and in JavaScript for DOM manipulation. Key differences: • ID: It must be unique (used once per page) • Class: It's reusable (can be used multiple times) One important insight: HTML provides the structure, CSS handles the design, and JavaScript adds interactivity. Key takeaway: Understanding HTML is the foundation for building and manipulating web pages with JavaScript. #JavaScript #HTML #WebDevelopment #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
Day 2 ✅ — CSS - Styling basics. Yesterday: HTML structure. Today: CSS style. -Inline, internal, external stylesheets. -Selectors, IDs, classes, and common styling properties. -Linked JavaScript for the first time. Day 3 tomorrow. #WebDevelopment #CSS #HTML #JavaScript #FullStack #StructuralEngineering #Upskilling
To view or add a comment, sign in
-
⚡ Bringing static web pages to life using JavaScript DOM 🔹 Key Concepts: 📝 innerHTML vs textContent → HTML content vs plain text 🎯 classList → add, remove, toggle classes 🧩 createElement() & appendChild() → create and add elements 🔗 setAttribute() & getAttribute() → manage element attributes 🎨 style → apply CSS using JavaScript ❌ removeChild() → remove elements from DOM 💡 Summary: DOM enables JavaScript to control and update web pages dynamically without reloading. #JavaScript #DOM #WebDevelopment #FullStackDeveloper #Frontend #CodingJourney
To view or add a comment, sign in
-
-
Built My Own Tailwind-like CSS Engine “Chaiwind” I’ve been diving deep into how utility-first CSS frameworks like Tailwind actually work under the hood… and decided to build my own version from scratch. GitHub: https://lnkd.in/edbMhfxa Live Demo: https://lnkd.in/ebMWZ7BK What is Chaiwind? Chaiwind is a runtime CSS utility engine that: • Scans the DOM for custom classes (chai-*) • Parses them into CSS properties • Applies styles dynamically using JavaScript No build tools. No config. Just pure JavaScript. Tech Highlights: • DOM manipulation & query selection • Custom class parser logic • Dynamic style injection • Utility-first CSS architecture What I learned: • How Tailwind-like systems work internally • Runtime vs build-time styling tradeoffs • Writing cleaner, modular JavaScript • Thinking like a framework developer Still improving: • Performance optimization • Responsive & pseudo-class support • Better class parsing system This project pushed me beyond just using frameworks — into understanding how they are built. Would love feedback from the community Hitesh Choudhary Piyush Garg Chai Code #JavaScript #WebDevelopment #Frontend #TailwindCSS #OpenSource #BuildInPublic #chaicode
To view or add a comment, sign in
-
Default CSS list bullets can sometimes be… boring. • Same style • Same size • Same color But CSS lets you fully customize them. Using ::before pseudo-element and content property. Check out this Tailwind Demo: https://lnkd.in/d_NUB3cz #css #tailwind #webdevelopment #lists #javascript #html #tailwindcss #softwaredevelopment
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