JSFiddle - React, Tailwind, and code Playground

by Bipen Chhetri

HTML

<h1 style="font-size: 6em">Size of font in pixels?</h1>

JavaScript

var sizeinem=parseFloat($('h1').css('font-size')) / 16;
     alert(sizeinem);