JSFiddle - React, Tailwind, and code Playground
by Manuel Gertrudix
HTML
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
});
</script>
</head>
<body>
<p id="desaparece1">Si me haces clic, desaparezco</p>
<p id="desaparece2">Yo también!</p>
<p>Y yo no quiero ser menos</p>
</body>
</html>
CSS
p#desaparece1 {color: #8B0000;}
p#desaparece2 {color: #6B8E23;}
.lw { font-size: 60px; }