The Button Cheat Sheet

Hacker News The Button Cheat Sheet Rating: Good, use it! 🥳 <button>Yea or nay?</button> Details That’s a proper button! It’s focusable It has correct key events by default Correct button role Supports HTML content All in all beautiful! ❤️ Rating: Okay, but <button> offers more flexibility! 🙂 <input type= »button » value= »Yea or nay? »> Details That’s a… Poursuivre la lecture de The Button Cheat Sheet