JSFiddle - React, Tailwind, and code Playground

by dauruk0512

HTML

<div>
    <p>A sample text</p>
    <p class="remove"> Remove this one</p>
   <p> This is the last text</p>
</div>

JavaScript

$( ".remove" ).remove();