Issues and how to fix them
- By nesting a button inside of a link, you’re sending two messages: this is a button, but also this is a link.
- If you’re not sure when to use
<button>, watch The Links vs. Buttons Showdown by Marcy Sutton.
/* use CSS to apply button-like styles to the link */
<a href="https://example.com" class="button">Example</a>