How do I make my button voltar
tell the user if they really want to exit the page and then direct them to index.html
using JavaScript? Not quite a button, I'm using href
to redirect to index
meanwhile. I want to know if it's right to do this.
<div class="groupb">
<a href="index.html" class="botoes">voltar</a>
</div>