JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script> 
$(document).ready(function(){
    $(".show-more").click(function(){
      $(".mydiv").slideToggle("slow");
    });
});
</script>
 
<style> 

.mydiv {
    padding: 10px;
    background: blue;
    display: none;
}
</style>
</head>
<body>
 
<div class="show-more">Click to slide down panel</div>
<div class="mydiv">Hello world!</div>

</body>
</html>