JSFiddle - React, Tailwind, and code Playground

HTML

<div id="Handlebar">Klicka för att dölja</div>

<div class="hideme">Dölj detta element</div>

<div class="hideme2">Dölj inte detta element</div>

CSS

#Handlebar{
    background: #666;
    width: 300px;
    height: 100px;
}
.hideme, .hideme2{
    background: #F00;
    width: 300px;
    height: 100px;
}

JavaScript

$(document).ready(function(){
    $('#Handlebar').click(function(){
        $('.hideme').fadeOut(200);
    });
});