No, what happened with w3fools is that someone realized that it was not “politically correctly” so they picked out a couple of “fixed” examples and said “never mind it’s fine now.”
The reality is that w3schools is low quality spam and it will never change.