JSFiddle - React, Tailwind, and code Playground

JavaScript

$(".wrapper").click(function(){
    $(".schememap").hide(2000);
});