JSFiddle - React, Tailwind, and code Playground

by HemalathaThanigaivel

HTML

<button onclick="openWindow()">
click me
</button>

JavaScript

function openWindow() {
	window.open('https://www.google.com/', 'popup', 'height = 300, width = 500, left = 100, top = 100, scrollbars = yes, resizable = yes, menubar = no, toolbar = yes, location = yes, directories = no, status = yes')
}