JSFiddle - React, Tailwind, and code Playground

by mswilson4040

HTML

<p><strong>Some text</strong></p>

JavaScript

alert($('p > strong').text());