-4
Hello, I’m a beginner and I would like to know how to redirect the user to a registration page when he presses the button to register or log in to the site.
<body>
<header class="menu-principal">
<main>
</main>
</header>
<main class="coluna menu-urls">
<div class="parte-1">
<div class="menu">
<ul>
<li><a href="">HOME</a></li>
<li><a href="">PRATIQUE</a></li>
<li><a href="">SOBRE NÓS</a></li>
<li><a href="">CONTATO</a></li>
<li><a href="">AJUDA</a></li>
</ul>
</div>
</div>
<div class="inscrever">
<input class="bnt st-button" type="button" value ="Inscrever-se"/>
<input class="bnt es-button" type="button" value ="Entrar">
</div>
</main>
window.location.href = 'link-da-pagina-de-cadastro'
– Ricardo Pontual
<input class="bnt st-button" type="button" value ="Subscribe" onclick="window.Location='https://answall.com/questions';" />
– user60252
What should I do if someone answers my question? https://answall.com/help/someone-answers See how to mark response as you accept https://i.stack.Imgur.com/evLUR.png
– user60252
Start here to get a quick look at https://answall.com/tour
– user60252