Hacker News new | ask | show | jobs
by zvolsky 1042 days ago
w3schools used to be one of the best resources ~15 years ago. Today I intuitively avoid it because

1. The ads make the fan on my laptop spin (I prefer to avoid ad-heavy websites over using adblock)

2. The 'Try it yourself' button is fake. It doesn't actually run the code and doesn't let you edit it.

3. It is not a good reference. To give an example, the last time I visited w3schools was upon searching "react ul li", which landed me on the page https://www.w3schools.com/react/react_lists.asp . Ironically, the reason why I was searching the term, was to find advice on setting the "key" prop in on list items. The w3schools example doesn't even mention the prop and produces errors. Compare that to the official reference which ranks much lower in Google search: https://react.dev/learn/rendering-lists#where-to-get-your-ke... .