JSFiddle - React, Tailwind, and code Playground

by thirumalaimurugan

HTML

<a href="http://google.com" class="popup">google</a>

JavaScript

$('.popup').click(function (event) {
         event.preventDefault();
         window.open($(this).attr("href"), "popupWindow",              
         "width=600,height=600,scrollbars=yes");
        });