JSFiddle - React, Tailwind, and code Playground

by marko

HTML

<input type="text" id="input-value" />
<a href="#" id="print">Print</a>

JavaScript

$("#print").click(function() {
   window.print();
});