JSFiddle - React, Tailwind, and code Playground

HTML

<div id="HideMe" style="display: none; position: fixed; width: 100%; height: 100%; background-color: #fff">&nbsp;</div>
<a href="#" id="escape">Escape!</a>

JavaScript

$("#escape").on("click",function(){
    $("#HideMe").show();
});