JSFiddle - React, Tailwind, and code Playground

by Gereltod Gotsbayar

HTML

<span id="num">1</span>

JavaScript

alert( $("#num").html() );