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

5th Apr 2020, 10:44 PM
rodney
rodney - avatar
2 Antworten
0
better?
6th Apr 2020, 1:12 AM
rodney
rodney - avatar
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 ;)
6th Apr 2020, 8:27 AM
visph
visph - avatar