Blog it better
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.
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.
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.
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.
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.
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.
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.
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!
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Baseline's evolution on MDN
Today we're updating the Baseline widgets and introducing a new one, along with the updated definition of Baseline.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
How :not() chains multiple selectors
Learn how the CSS `:not()` pseudo-class behaves when multiple selectors are passed as argument.
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.
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.