JSFiddle - React, Tailwind, and code Playground

by johntrepreneur

HTML

<button id="button1">  test how href works with different browsers</button>

CSS

#button1 {
  height: 70px;
  width: 400px;
}

JavaScript

$('#button1')
.click(function(e){
	window.location.href = '/user/login/';
})
.click(function(e){
	alert('navigating now...');
	window.location.href = '/user/signup/';
});