JSFiddle - React, Tailwind, and code Playground

JavaScript

var url = "http://www.yahoo.com/";
 window.open(url, '_blank');