JSFiddle - React, Tailwind, and code Playground

by Emily Humphrey

HTML

<a href="http://spacemaids.com" class="share_social">spacemaids</a>

<a href="http://thecharlesnyc.com" class="share_social">Charles</a>

<a href="http://hmphry.com" id="popupBtn">popup</a>

JavaScript

$("a.share_social").on('click', openPopup);

    function openPopup() {
        var pop = window.open(this.href, "popup", "width=400, height=400");
            return false;
    }