Me waiting for the AI to close the tag for me

https://feddit.org/post/19580239

Why do you have a class that says “button”?
for styling, probably
You can style buttons without a problem.

Yes, but element selectors based on the tag name alone are considered bad practise. Especially in bigger HTML sites. Even more so if you use a JS library / framework or some broad browser stylesheet underneath, or you use the same stylesheet in several places.

Also, a div or img tag can be a button with its own event listener as well. That may be asking for trouble as well, but I’ve been there (not proud of it).

A use case I find perfectly valid are <label class=“btn”>s for checkboxes and radios with huge-ass hit areas.