I don't understand why my button doesn't work in my html
<div class="card-button">
<button class="btn-blue" href="mailto:#######" target="_blank">Contacto</button>
<button class="btn-orange" href="https://allmylinks.com/#######" target="_blank">Seguir</button>
</div>
From what I could understand, here is a solution:
Brief explanation
The bug is that the buttons don't have the href property . You should use an onclick and run a javascript code that changes the location.
Code