JSFiddle - React, Tailwind, and code Playground

by Ghokun

HTML

<div id="ptitle1">test</div>

JavaScript

//$('#ptitle1').hide();

  //On mouse over
    $('#project1').mouseenter(function() {

        //Display the caption
        $('#ptitle1').stop().fadeOut(200);
    },
.mouseleave {

        //Hide the caption
        $('#ptitle1').stop().fadeOut(200);

    });