Celebrating 20 Years of MDN

(developer.mozilla.org)

Comments

idoubtit 25 July 2025
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.

Doohickey-d 25 July 2025
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?

susam 25 July 2025
I could fulfil my childhood dream of creating a space-invaders-like game [1], much later as an adult [2], thanks to MDN!

The excellent documentation for the Canvas API [3] and OscillatorNode [4] on MDN made it quite easy to get started with developing the game.

[1] https://susam.net/invaders.html

[2] https://github.com/susam/invaders#why

[3] https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API

[4] https://developer.mozilla.org/en-US/docs/Web/API/OscillatorN...

the_other 20 hours ago
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.

miiiiiike 25 July 2025
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.

nonhaver 25 July 2025
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!
dwoldrich 25 July 2025
Great resource. I probably do a `!mdn Array` on DuckDuckGo at least once a month for the past 15 years.
donatj 25 July 2025
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.
vorgol 25 July 2025
I remember when I discovered MDN. It was like sneaking into a wizard's sanctum and reading all the secret scrolls. Stellar work Mozilla!
socalgal2 20 hours ago
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?

kookamamie 25 July 2025
I think the MDN is the best thing come out of Mozilla - yes, even considering Rust.
alexbezhan 25 July 2025
MDN is the best. I use only standard web features and it’s a blessing to have MDN. Thank you for your hard work.
v5v3 25 July 2025
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.

dylan604 19 hours ago
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

conartist6 25 July 2025
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

hofrogs 25 July 2025
Life would be so much worse without MDN. Thank you for keeping it on.
alabhyajindal 25 July 2025
I love MDN. Congratulations and thank you to all the contributors!
prinny_ 19 hours ago
MDN is an essential site and I am so glad it's maintained, updated and introducing new functionality.
pluto_modadic 21 hours ago
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 :(
0cf8612b2e1e 20 hours ago
Now if only search engines would prioritize MDN over W3.
minroot 20 hours ago
The only thing that gave me hope
imcritic 20 hours ago
MDN was great. Mozilla was great. It is incredibly sad it all went to shit.
vimwizard 25 July 2025
the best