© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Syarif
Very interesting topic, But don't you think that just by adding another class name only for JavaScript selector, give you the same approach?, thanks.
Ayush Saini
software engineer
Yes Syarif, you're absolutely correct but IMO a class should be used for styling elements, but again these are just personal preferences. Thanks for reading it 💖