JSFiddle - React, Tailwind, and code Playground

HTML

<div>
  <a href="#" id="notme">click</a>
  <a href="#">click</a>
  <a href="#">click</a>
  <p style="display: none;">I was hidden - now I'm found!</p>
</div>

JavaScript

$('a').each(function() {
  $(this).click(function() {
    var el = $(this).attr('id');
    if (el === 'notme') {
      // no nothign or something else
    } else {
    	$('p').toggle();
    }
  });
});