MDN Blog

MDN Blog

The MDN Web Docs blog publishes articles about web development, open source software, web platform updates, tutorials, changes and updates to MDN, and more.

Introducing the MDN MCP server

MDN's MCP server brings MDN's documentation and browser compatibility data directly into your editor or IDE, giving your LLM or coding agent access to accurate, up-to-date web platform information.

2026/6/15
阅读更多

Under the hood of MDN's new frontend

You may have spotted that MDN has a new frontend. There's plenty happening under the surface, so let's unpack the technologies we chose, the architectural decisions we made, and why we did a rebuild at all.

2026/4/8
阅读更多

Image formats: Codecs and compression tools

Image compression involves countless trade-offs between quality, size, and speed. In this final part of the series, we experiment with codecs, metrics, and tools to find practical ways to balance efficiency and visual fidelity.

2025/11/5
阅读更多

A beginner-friendly guide to view transitions in CSS

Learn how to bring smooth, animated navigation to multi-page apps with view transitions. With just one line of CSS, you can enable seamless transitions between pages.

2025/10/9
阅读更多

Launching MDN's new front end

MDN is getting a facelift 🎉. Discover what's changed, what's improved, and how navigating the site just got smoother.

2025/8/19
阅读更多

Image formats: Pixel data from encoders to decoders

From individual pixels to fully decoded images on your screen, raw pixel data gets transformed, compressed, and efficiently delivered. Learn about the techniques and optimizations that shrink image information without any perceivable loss in quality.

2025/8/4
阅读更多

Celebrating 20 years of MDN

MDN turns 20! Let's look at how we started, how MDN became the most trusted resource for web developers, the impact it's had on the open web, and yes, there's cake, too.

2025/7/23
阅读更多

Image formats: Color models for humans and devices

Images help bring more color and life to the web. This post describes how images are represented by humans and on different devices, with details about color spaces and vision theory.

2025/5/6
阅读更多

Default styles for h1 elements are changing

Browsers are starting to roll out changes in default UA styles for nested section headings. This post describes the incoming changes, how to identify if it's an issue on your websites, and hints for conformant and better-structured pages.

2025/4/11
阅读更多

Implications of Global Privacy Control

Global Privacy Control (GPC) is on the way to becoming a formal privacy standard with the recent publication of its first working draft. Let's take a look at what the implications are for developers and users.

2025/3/15
阅读更多

JavaScript Temporal is coming

A new way to handle dates and times is being added to JavaScript. Let's take a look at Temporal, what problems it solves, the current state, and what you'll find in the new documentation about it on MDN.

2025/1/24
阅读更多

Fix your website's Largest Contentful Paint by optimizing image loading

Learn techniques to improve the Largest Contentful Paint metric, a part of Core Web Vitals, for your website.

2025/1/13
阅读更多

MDN 2024 content projects

Let's have a look at MDN Web Docs content projects in 2024, with highlights of our top picks and recommended reading, and at what's next on MDN for 2025.

2025/1/8
阅读更多

A new learning experience on MDN

There's a new Learn Web Development section on MDN that merges the MDN Curriculum with the Learn section. Here's the background to these changes, what's new, and what you can expect to see in the future.

2024/12/20
阅读更多

Countdown to the holidays with daily coding challenges

Join JavaScriptmas this December for daily coding challenges designed to boost your skills and bring festive fun. Solve challenges on Scrimba, learn something new, and take part for a chance to win exciting prizes!

2024/12/1
阅读更多

Monitoring and optimizing website performance

Learn about reading network request waterfalls, identifying common network performance issues, and optimizing page rendering.

2024/11/11
阅读更多

How to land your first developer job

Here are six effective strategies for landing your first developer job. These are especially relevant if you're self-taught or breaking into the tech industry without a traditional CS degree.

2024/11/1
阅读更多

Introducing the new MDN Community page

We are thrilled to announce the new MDN community page that will be a hub to recognize our contributors and a place for contributors to get involved.

2024/10/15
阅读更多

Fixing your website's JavaScript performance

Learn about lesser-known web performance bottlenecks connected to excessive JavaScript usage, like long tasks, large bundle sizes, and hydration issues.

2024/10/9
阅读更多

Get back to school! Supercharge your learning with MDN and Scrimba

For many of us, the holidays are over, and the time has come to focus. Now is an ideal time to dive into learning web development, and you're in luck — MDN and Scrimba are offering a 30% discount on select courses for the next month!

2024/9/12
阅读更多

Efficient data handling with the Streams API

This post demonstrates how to use the Streams API in a web application to fetch and transform text on the fly. By processing the data as it arrives, this approach enhances performance, responsiveness, and resource efficiency.

2024/9/6
阅读更多

Locale-sensitive text segmentation in JavaScript with Intl.Segmenter

Learn how to use Intl.Segmenter for locale-sensitive text segmentation in JavaScript to simplify localization, count words or sentences in different languages, and more.

2024/9/3
阅读更多

Optimize your workflow with Git stash

Learn how to use Git stash to break down large commits. Discover a better approach for saving work when switching branches.

2024/8/28
阅读更多

How to debug mobile apps across devices

This post explores what mobile app debugging is, commonly used techniques, and how you can debug mobile apps on multiple devices.

2024/8/7
阅读更多

Exclusive accordions using the HTML details element

The 'name' attribute of the HTML details element is gaining more support across browsers. Learn how this feature allows creating exclusive accordions without scripting widgets from scratch.

2024/8/5
阅读更多

Exploring the Broadcast Channel API for cross-tab communication

This article explains how to use the Broadcast Channel API to build synchronized and interconnected web applications.

2024/7/12
阅读更多

MDN partners with Scrimba to enhance web development learning

We have chosen Scrimba as a course partner for the MDN Curriculum. This blog post explores what the partnership means practically, and how we will provide an even better web education experience together.

2024/7/9
阅读更多

Introducing the MDN HTTP Observatory

First released in 2016, the HTTP Observatory became popular in the web community with a combination of helpful security audits and educational material. Fast forward to 2024, and we are delighted to announce that Observatory's new home is MDN. Read on to find out more about what this entails, and give the HTTP Observatory a warm welcome!

2024/7/2
阅读更多

Static Site Generation (SSG) with Next.js

This guide explains how to use Static Site Generation in Next.js to build scalable and secure web applications with fast loading times and a focus on performance.

2024/6/28
阅读更多

New JavaScript Set methods

New JavaScript Set methods are landing across browsers. Learn about sets, how you can use these methods to compare different sets, create new sets with specific properties, and more.

2024/6/24
阅读更多

Securing APIs: Express rate limit and slow down

This guide introduces you to rate limits and slow down mechanisms. Learn how to apply slow down and rate limit mechanisms in Express applications.

2024/5/28
阅读更多

Using the Page Visibility API

This post takes a look at what page visibility is, how you can use the Page Visibility API in your applications, and describes pitfalls to avoid if you build features around this functionality.

2024/5/10
阅读更多

A year of publishing the MDN Blog

We've been writing about web development and the web platform on the MDN Blog since May 2023. Here's our highlights and top posts along with our favorites.

2024/5/3
阅读更多

Setting up service workers on Vultr

This guide introduces you to service workers and their lifecycle. Learn how to deploy a project using service workers with HTTPS on Vultr.

2024/4/23
阅读更多

Interop 2023: MDN updates

Interop 2023 has successfully concluded, and the Interop 2024 project is now officially underway. Learn what Interop is, discover the updates from Interop 2023 now on MDN, and find out what's coming to the web next.

2024/3/27
阅读更多

Testing JavaScript with Jest on Vultr

This guide introduces you to the common types of tests and the testing conventions. Learn how to test JavaScript with Jest on Vultr.

2024/3/22
阅读更多

Creating color palettes with the CSS color-mix() function

Working with colors on the web just got more interesting! In this article, we’ll explore how to use the CSS color-mix() function to create variations in color palettes.

2024/3/8
阅读更多

Modernizing conventional test automation with TestGrid

This post reflects on the conventional test automation methods using Selenium and Appium. Learn how you can use TestGrid's unified testing platform to enhance the conventional methods and also leverage the modern codeless testing techniques.

2024/2/29
阅读更多

Lift-off: The MDN Curriculum launch

The long-awaited MDN Curriculum is now live on MDN, providing a structured guide to the essential front-end development skills and best practices for industry newcomers. Learn all the key details in this article.

2024/2/27
阅读更多

Creating effective technical documentation

This article provides an overview of the core components required for creating effective technical documentation. Learn the best practices to make your documentation clear, consistent, and well-structured.

2024/2/13
阅读更多

Leveraging Bun on Vultr: A superior Node.js alternative

This guide explains Bun functionalities as a runtime package manager and a bundler. It also explains the benefits of built-in Bun APIs and how to use Bun's Vultr marketplace application.

2024/1/17
阅读更多

Border images in CSS: A key focus area for Interop 2023

Aligning with Interop 2023's emphasis on cross-browser consistency, this post walks you through various `border-image` properties that you can control to create captivating web designs. Learn how to use custom graphics for enhancing the look of your websites that appear consistent across different browsers.

2023/12/19
阅读更多

Build AI-powered applications using OpenLLM and Vultr Cloud GPU

Learn how to build AI-powered apps using OpenLLM and Vultr Cloud GPU. This guide shows how to generate API responses using a Large Language Model. It also covers instructions for setting up an Nginx server and implementing SSL security.

2023/12/12
阅读更多

Saying goodbye to third-party cookies in 2024

The tail end of 2023 welcomes positive news for web privacy, as Chrome announces it is to join Firefox and Safari in deprecating third-party cookies in 2024. Find out more details about these changes, and what they mean for web developers.

2023/12/8
阅读更多

Baseline's evolution on MDN

Today we're updating the Baseline widgets and introducing a new one, along with the updated definition of Baseline.

2023/12/5
阅读更多

Developer essentials: JavaScript console methods

The JavaScript console is an essential tool for web development. Learn new and fun ways to use the console to display data and debug your code.

2023/11/30
阅读更多

Getting started with CSS container queries

CSS container queries are a powerful new tool for our CSS layout toolbox. In this post we'll dive into the practicalities of building a layout with container queries.

2023/11/16
阅读更多

Deploying Node.js applications with PM2 on Vultr

Learn how to deploy a Node.js application on Vultr using PM2 to create persistent services. This guide shows how to efficiently use resources via PM2 cluster mode. It also covers Nginx server setup and SSL security.

2023/11/8
阅读更多

VS Code: Tips and tricks for beginners

Discover essential tips and tricks for using Visual Studio Code (VS Code), a powerful IDE. Learn how to leverage its integrated editing features and Git support, and explore a few extensions.

2023/11/7
阅读更多

Coming Soon: MDN Observatory 2.0

Observatory 2.0 is launching soon as part of the Mozilla Developer Network as the MDN Observatory with new security scoring standards and other exciting updates.

2023/10/25
阅读更多

Optimizing DevSecOps workflows with GitLab's conditional CI/CD pipelines

This guide explores the various types of CI/CD pipelines and helps you understand their specific use cases. Learn how to leverage rules to create highly efficient DevSecOps workflows.

2023/10/23
阅读更多

Introduction to web sustainability

What can web designers and developers do to build a more sustainable web? This post explores the environmental impacts of web technologies and looks at some of the ways we can build greener websites.

2023/10/11
阅读更多

Migrating from GitHub to GitLab seamlessly: A step-by-step guide

Thinking about making the move from GitHub to GitLab? This guide demystifies the migration process, addressing common concerns for DevSecOps teams that are looking to seamlessly transition between the two platforms. This post provides a step-by-step guided tutorial on how to migrate your data from GitHub into GitLab.

2023/10/5
阅读更多

Announcing the MDN front-end developer curriculum

MDN has created a curriculum for aspiring front-end developers to build a rewarding and successful career. Take a look at the curriculum, who it's for, and the research it's based on.

2023/8/14
阅读更多

Creating custom easing effects in CSS animations using the linear() function

The new CSS linear() timing function enables custom easing in animations. Explore how linear() works compared with other timing functions used for easing, with practical examples.

2023/8/1
阅读更多

Securing your CDN: Why and how should you use SRI

Relying on external resources for your website is always fraught with risks. Learn how to protect your website and its visitors by using SRI to secure third-party content.

2023/7/21
阅读更多

Scroll progress animations in CSS

Scroll-driven animations are coming to CSS! In this post, we'll look at a few types of animations and learn how to link them to the scroll progress of a container.

2023/7/14
阅读更多

Reflections on AI Explain: A postmortem

We recently launched a feature called AI Explain, but we have rolled this back for now. In this post, we look into the story behind AI Explain: its development, launch, and the reasons that led us to press the pause button.

2023/7/11
阅读更多

Developer essentials: How to search code using grep

grep is a powerful tool for searching code from the terminal. This post will show you how to use grep and why it's an essential developer tool.

2023/7/3
阅读更多

Introducing AI Help (Beta): Your Companion for Web Development

We're introducing an AI assistant powered by MDN and OpenAI GPT 3.5 to answer all your web development questions in real time.

2023/6/27
阅读更多

Learn how to use hue in CSS colors with HSL

Hues are a bright way to define colors in CSS. Learn about hues, color wheels, how to use color functions, and how you can create vibrant color palettes for your website using hue.

2023/6/26
阅读更多

Introducing the MDN Playground: Bring your code to life!

MDN is launching a code Playground. Users can prototype ideas and expand all live samples into an interactive experience.

2023/6/22
阅读更多

MDN doc updates: CSS selectors & media queries, WebGPU & WebTransport APIs, Progressive web apps

Discover CSS :lang(), experimental media queries, manipulating graphics with WebGPU, client-server communication with WebTransport, ECMAScript module support, and more.

2023/6/13
阅读更多

How to draw any regular shape with just one JavaScript function

Learn how to use JavaScript to draw any regular shape to a HTML canvas with a single function, and how to modify it to draw multiple shapes.

2023/5/26
阅读更多

New reference pages on MDN for JavaScript regular expressions

See the latest updates to the MDN reference pages about JavaScript regular expressions, including new sections on sub-features and browser compatibility information.

2023/5/23
阅读更多

Celebrating Global Accessibility Awareness Day

In celebration of Global Accessibility Awareness Day in 2023, we share some tools and guidelines to help you make the web more accessible.

2023/5/18
阅读更多

Using HTML landmark roles to improve accessibility

Learn what HTML landmark roles are, how they improve accessibility, and how you can include them on your website effectively.

2023/5/15
阅读更多

Introducing Baseline: a unified view of stable web features

MDN leads the way in implementing WebDX community group's efforts, delivering a clear and simple baseline for the web platform to developers.

2023/5/10
阅读更多

How :not() chains multiple selectors

Learn how the CSS `:not()` pseudo-class behaves when multiple selectors are passed as argument.

2023/5/5
阅读更多

New functions, gradients, and hues in CSS colors (Level 4)

Learn what's new in CSS Colors Module Level 4, including color spaces, color functions, fancy gradients, and support for wide-gamut displays.

2023/5/3
阅读更多

Welcome to the MDN blog

The MDN blog publishes web development news, tutorials, and insights as an extension of MDN Web Docs, helping you discover, learn, and create for the web.

2023/5/3
阅读更多