I agree with you about w3schools; they've improved a lot since they first started out, and cleaned up a lot of problems. I think it's just fine to use for that purpose. A lot of technologists look down their noses at w3schools and vilify them just because they consider it a content farm.