I am not sure of the current state of affairs, but in the past (5-10 years ago or longer) w3schools was known for having outdated or sometimes flat out wrong information. They often rank or ranked higher than MDN which is usually the best and most comprehensive source on the subject. So a front end dev would typically want to always see MDN over w3schools.
I have been part of the beta test for kagi search engine (kagi.com) and my favorite feature is you can prefer/mute websites. So for example I prefer MDN so the site is ranked higher if it shows in the search results. Note I’m unaffiliated with them but the product/team is great so rooting for them to succeed.
I'm using Kagi at the moment and not only does it have nice features like this but it is also a fantastic search engine.
Maybe the best way to explain how fantastic it is is that I think it has a bang operator like DDG but I have never tested it because when I look at the results they are obviously better than DDG or Google.
their contents was never the best or most relevant back then. but they gamed SEO to position themselves higher than most. they are doing better today? good for them. for some of us who have witnessed the whole thing happen, they will be ignored for a long time.
They’re the best resource for learning web technologies. They’ll tell you in one plain sentence what you need to know, with simple, concrete examples, whereas MDN, on the other hand, is a baroque mess which, after paragraph upon paragraph of rambling legalize will often leave you more confused than when you started.
For learning, they're OK. However, most of the time when you're doing real work, what you really want is specs and complete APIs. At that point w3schools in the results becomes a distraction. I'm totally blocking them.
That's exactly my experience too. I've learnt so much from w3schools. Also being able to quickly try stuff out and tinker with it and see the effect instantly is so handy.
Yeah, as someone (re)learning modern CSS/HTML, I really don't understand the hate they get. For a beginner (at CSS/HTML anyway, I'm an HPC engineer otherwise with lots of low-level experience), I think it's a great resource, with good examples too.
In terms of the site design itself, it's always been like that - the w3schools site has always had the clean, readable presentation (and it's a pretty easy argument to make that it's much more approachable for a newbie than MDN). The main complaint was with the content. In the past there were some pretty big problems with content on w3schools. Often common footguns (of which there are many in Javascript) were not covered and newbies were encouraged to do things that were bad in the short and long term. IIRC one of the more egregious examples of this was sample code that taught developers to write code vulnerable to SQL injection. Supposedly most of this has been fixed, though I don't really use w3schools that much so I can't really vouch for its integrity or lack thereof these days.
Exactly. I do coding for hobby, just html, css, js; & in past php too. If I quickly need to find some function to do xyz or a tag or property, or to find the capabilities of some function, its params, w3schools is easy to comprehend than mdn (which very rarely I have been to).
I think it's similar to PHP, they're criticized by the vocal newbies who are chasing the newest and shiniest.
For me personally, w3schools has been one of the most reliable sources of reliable solutions that work not just for the latest Chrome build but across many different browsers and platforms.
Given the cumulative nature of HTML, "outdated" is another word for "reliable and established", IMO.
I don't see how MDN is a healthy meal when they document only shit which works exclusively in Chrome and Firefox, while claiming everything else is "deprecated" and ignoring all other browsers.