37 comments

[ 3.7 ms ] story [ 66.3 ms ] thread
Great resource. I probably do a `!mdn Array` on DuckDuckGo at least once a month for the past 15 years.
A community member made the mdn.io/array redirect, could be useful for you! ;)
It’s hard to learn about features you’re unfamiliar with on MDN. There are times that I read MDN docs and think “who is this for?” You can read two paragraphs and not even get an idea of what the feature is supposed to do or what problem it solves. If you’re not intimately familiar with the topic you’re not going to get anything out of reading it.

Sometimes it’s better just to read the spec because there’s more background information.

I’m glad that MDN exists, but I also wish it explained topics as well as CSS: The Definitive Guide. I failed to learn CSS the MDN docs for years before reading CSS: The Definitive Guide. I was up to speed in about three months. Everything made perfect sense.

I’d love to get a wiki that has the explanations of CSS: The Definitive Guide, kept up to date with the reference material of MDN.

I’d pay for this.

I have in the past, about 4-5 years ago found some aspects of documentation on MDN in the examples that did not work in browsers because not implemented at the time, as well as some lack of clarity in documenting differences between fit-content function and fit-content keyword therefore I raised an issue https://github.com/mdn/sprints/issues and got the documentation amended. However of course that no longer works for the reasons already mentioned, not sure if there is some other place or process whereby you can raise issues and get documentation changed.

on edit: the issue, 5 years ago https://github.com/mdn/sprints/issues/3723

Hi, I'm part of the MDN team. Thank you so much for your feedback, I'll be sure to share this with the team, and we’ll explore how we can build on it further.

Re: “Who is this for?” Most of our reference pages are grounded in real-world browser implementations. Rather than documenting specs in isolation, we focus on features that have been implemented across browsers. We aim to present this information in a clear, neutral way, accessible to developers at any stage of their journey.

That said, we have expanded our efforts to create more learning-focused content, free resources designed to support new developers through a structured curriculum. Additionally, we’ve started publishing more in-depth guides on niche topics on our blog, which complements our core documentation but serves a slightly different purpose from what you mentioned.

It's great that it's still around and still seems to be updated. Since it seems that they laid off the entire team in 2020: https://news.ycombinator.com/item?id=24132494

Or did they re-hire?

Hi, I'm from of the MDN team. While the team was briefly scaled down to just two members and a few contractors, we've since grown significantly.

Today, MDN is supported by a thriving team of 15, comprising core staff, contractors, and a broad network of partners and contributors who generously share their expertise to keep MDN strong and up to date.

Our team → https://developer.mozilla.org/en-US/about#our_team

How has traffic to MDM changed over the years?

For example when Tailwind came out, all my searches for Css stuff moved to tailwind related searches.

And of course the LLM hit.

My traffic has definitely gone down, I've been using DevDocs instead of MDN direct.
MDN is obviously an important reference. They've done a great job, because documenting the complex mess of modern web technologies is hard.

I have 2 small complaints:

- I sometimes read some dubious content on MDN. For instance [JavaScript frameworks and libraries]^1. I don't think these tutorials for 5 frameworks provide any value over the respective official tutorials. Even more so with outdated tutorials: the Svelte one is 5 years old, and there have been major changes since then. ^1: https://developer.mozilla.org/en-US/docs/Learn_web_developme...

- The quality of the webextension doc is low. A clear problem is that it's mostly for manifest v2, with a few incomplete pages mentioning a transition to v3 or the compatibility with Chrome. In practise, I started developing an webextension with this doc, then had to switch to Chrome's, though Firefox was my primary target.

Hey, I'm from the MDN team. Thank you for the compliment and the feedback, I really appreciate it! <3

I hear you on the complaints, I'll take this to the team. You might like this, in case you'd still like to learn building Firefox extensions → https://extensionworkshop.com/

> I sometimes read some dubious content on MDN.

I couldn't agree more. MDN should expect to outlive userland libraries and frameworks.

I'm curious if Vercel will find a way to funnel MDN users right into their frameworks.

While I believe that the tutorials for frameworks do not replace the official ones, I still find great value in having them available on MDN. Perhaps you are not seeing this because you are viewing the problem from the perspective of someone who already knows very well what these frameworks are and how they should be used.

I remember clearly how years ago MDN taught me what libraries and frameworks are and why I should (or not) care about them. I didn't have a CS background nor anyone to teach me. I would probably have been too intimidated to approach them if it weren't for MDN guiding me. I'm very grateful.

MDN is the best. I use only standard web features and it’s a blessing to have MDN. Thank you for your hard work.
I love MDN. Congratulations and thank you to all the contributors!
I remember when I discovered MDN. It was like sneaking into a wizard's sanctum and reading all the secret scrolls. Stellar work Mozilla!
Is there a way to donate to MDN directly without donating to the larger Mozilla organization? I find MDN absolutely indispensable and would love to contribute in an earmarked way where it wouldn't be diverted elsewhere.
Yes: you can donate to https://openwebdocs.org/ (purple button at top right).

> Open Web Docs (OWD), an independent open source organization, is one of the most productive contributors to MDN Web Docs

Per MDN’s partners page, their director is ex-MDN, so that’s about as close to the tree as the apple can fall given Mozilla’s defective structure.

I think the MDN is the best thing come out of Mozilla - yes, even considering Rust.
I wrote some of it! No idea what though, attribution from that era was all lost : (

If Mozilla could trivially put AST-explorer-esque metadata and interactivity into every <code> block would they want to?

If anyone wants to reach out I can show you what I mean and how it's done

not sure why people feel the need to complain in the comments of this anniversary post for a free service. been using the MDN docs for 5+ years and its been an invaluable resource that also promotes exploration - ive stumbled upon so many incredible APIs and capabilities i never wouldve have sought out otherwise. congrats on 20 years!
Life would be so much worse without MDN. Thank you for keeping it on.
Is this the same MDN that ruined their docs by having AI hallucinate answers instead of linking to working examples? Mozilla really forcing the AI angle on their poor teams :(
Hi, I'm part of the MDN team. That doesn’t sound quite right, MDN has never replaced example links with AI-generated answers. While we’ve introduced an AI-powered helper to assist with common questions, it’s a supplementary tool, not part of our core documentation experience.

All MDN content remains human-written, maintained by our team and contributors, and based on real browser implementations. You can always view the source and track changes on our GitHub repository for content.

https://github.com/mdn/content

The only thing that gave me hope
I've used MDN as my go-to web documentation for the majority of those 20 years. It's an essential resource: typically easier to read than the specs; practical info, cross-referenced, with examples (and some playgrounds).

Thanks for keeping it relevant all this time.

Now if only search engines would prioritize MDN over W3.
MDN is great! I use them all the time.

Since the team is apparently reading this, I ran into SVG docs being less than great (to me). I was trying to use SVG and I think the way the docs are presented for SVG elements could maybe use some TLC. For example the 'g' element

https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/E...

What attributes can be used? All it says is "This element only includes global attributes.". Yea, ok, why isn't that a link to what are the global attributes are? There's nothing on the page that gets you to the attributes. Ideally they'd just be on this page so the user doesn't have to go digging.

Clicking "attributes" on the left brings up a list of attributes. Which ones are "global attributes". Why is it organized like this? If it was docs of structures for an API I would not expect each property to have its own page and not be described in that struct's page directly.

    struct Person {
      name:  // links to /docs/name
      age:   // lines to /docs/age
    }

    struct Country {
      name:        // links to /docs/name
      population:  // links to /docs/population
    }

    struct Vehicle {
      name:  // links to docs/name
      price: // links to docs/price
    }
You'd expect (well, I'd expect), that docs for properties are include in the page.

But that's how the SVG element docs are organized.

Compare to HTMLCanvasElement

https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasE...

Which at least has that element's unique properties listed. Even their though I have to go digging through the hierarchy to find what other properties. It would be way more useful to, at a glance, at least list all the attributes and methods including inherited ones, even if they are just links.

Much of this seems semi automatable from IDL?

Hi, thank you so much for the kind words and thoughtful feedback, I really appreciate it! I’ll be sure to bring this to the team so we can explore how to improve things further.

Would you mind creating an issue for this page using the link below? It helps us track and prioritize updates more effectively: https://github.com/mdn/content/issues/new?template=page-repo...

We actively monitor feedback on GitHub, so if you have more detailed suggestions or broader ideas, feel free to start a conversation on GitHub Discussions → https://github.com/orgs/mdn/discussions

We’d love to hear more from you and identify areas we can improve together.

MDN was great. Mozilla was great. It is incredibly sad it all went to shit.
MDN is an essential site and I am so glad it's maintained, updated and introducing new functionality.
I use MDN as much as I can, and will pick a page from it even if it is lower in search results. I don't know how page ranks can put something over an MDN page.

Long ago when I first started seeing MDN references, I had assumed the M = Microsoft. That meant I avoided it like the plague not wanting to see IE specific or .NET type cruft. Boy did I feel dumb when I finally learned that's not what the M stood for and realized I could have been using it even earlier. Yet another example proving you know what happens when you assume

Just here to say thank you for creating and maintaining MDN. It’s an amazing resource that I’ve used most days of my working life.