JSFiddle - React, Tailwind, and code Playground

by c4urself

HTML

<div id="ccusers">
        <span>User1</span>
        <span>User2</span>
        <div class="remove">Remove</div>
    </div>

JavaScript

$(".remove", document.getElementById("ccusers")).live("click", function() {
         $(this).parent().remove();
    });