JSFiddle - React, Tailwind, and code Playground

by gchoken

HTML

<div class="item">1</div>

JavaScript

var result = $('.item').text()+1
    
    alert(result);