JSFiddle - React, Tailwind, and code Playground

HTML

<input type="button" value="Click Me"/>

JavaScript

$('input').click(function(){
window.open("http://google.com");
$.ajax({
  url: "https://fiddle.jshell.net/favicon.png",
  beforeSend: function( xhr ) {
    xhr.overrideMimeType( "text/plain; charset=x-user-defined" );
  }
})
  .done(function( data ) {
  console.log('test')
    if ( console && console.log ) {
      console.log( "Sample of data:", data.slice( 0, 100 ) );
    }
    
  });

})