The nice thing about dev.to is that we're not tied to teaching from any particular website. We have the power to teach anything. So why not teach best practices?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I agree, data-* attributes are best to use as selectors. However, the site I was working didn't have any so had to use id, css, etc...
The nice thing about dev.to is that we're not tied to teaching from any particular website. We have the power to teach anything. So why not teach best practices?