0
2 Different Buttons
I have 2 buttons and i want them to do 2 different things. the login button is to direct someone to another page i want the create button to do the same thing but to a completely different page https://code.sololearn.com/WbikVgn3xtoh/#html
2 Respostas
0
better?
0
I can see 3 buttons in your code (login, create account, cancel), but you don't even have write the code for at least one ^^
Anyway, if the desired action on click is to redirect user to another page, why not using <a> (anchor / link) rather than <button>? All the more that you're customizing the buttons style ;)