DEV Community

[Comment from a deleted post]
Collapse
 
joshuaamaju profile image
Joshua Amaju

I'd like to know understand what circumstances you'd use a span instead of a button.

Collapse
 
Sloan, the sloth mascot
Comment deleted
 
rurickdev profile image
Rurick Maqueo Poisot

Well, if you add the same "btn" class to your button it works, I don't see why you will skip the HTML5 semantic and make your code harder to read just because "it works"

proof

 
joshuaamaju profile image
Joshua Amaju

I guess this is just an issue with you not understanding html and css properly. Not trying to be rude here.