20
Stop using w3schools as your only resource for learning JavaScript
I keep seeing beginners in here posting code that has weird outdated patterns like using var everywhere and document.write. W3schools still teaches that stuff in 2025 and it's not how professional devs write code anymore. I learned this the hard way after 3 months of building projects that broke in weird ways. MDN Web Docs or freeCodeCamp are way better places to start. Has anyone else noticed new coders falling into this trap with old tutorials?
2 comments
Log in to join the discussion
Log In2 Comments
ryan_sanchez16d ago
Yeah w3schools got me too until I switched to MDN. Night and day difference.
3
dixon.ryan16d ago
@ryan_sanchez absolutely nailed it. W3schools is fine for a quick lookup but MDN actually explains the why behind everything. Made my code way less buggy after I made the switch.
1