JSFiddle - React, Tailwind, and code Playground

HTML

<div id="northernIreland">Northern Ireland</div>
<div id="ireland">ireland</div>
<div id="england">England</div>
<div id="scotland">Scotland</div>
<div id="wales">wales</div>






<!--Start On load-->
<div id="onLoad"><h1>Start onLoad</h1></div>
<!--end On load-->

<!--Start northernIrelandTx-->
<div id="northernIrelandTxt"><h1>Show Northern Ireland</h1></div>
<!--End northernIrelandTxt-->

<!--Start irelandTxt-->
<div id="irelandTxt"><h1>Show Ireland</h1></div>
<!--End irelandTxt-->

<!--Start englandTxt-->
<div id="englandTxt"><h1>Show England</h1></div>
<!--end englandTxt-->

<!--Start scotlandTxt-->
<div id="scotlandTxt"><h1>Show Scotland</h1></div>
<!--End scotlandTxt-->

<!--Start walesTxt-->
<div id="walesTxt"><h1>Show Wales</h1></div>
<!--End walesTxt-->

JavaScript

$(document).ready(function() {        

// Hide Divs on Load
    $('#englandTxt').hide();
    $('#northernIrelandTxt').hide();
    $('#walesTxt').hide();
    $('#scotlandTxt').hide();
    $('#irelandTxt').hide();
    
$(function() {

$("#england").click(function () {
    
    $('#englandTxt').hide();
    $('#northernIrelandTxt').hide();
    $('#walesTxt').hide();
    $('#scotlandTxt').hide();
    $('#irelandTxt').hide();
    $('#onLoad').hide();
    $("#englandTxt").fadeIn("slow");
     });  
      
    $("#northernIreland").click(function () {
    
    $('#englandTxt').hide();
    $('#northernIrelandTxt').hide();
    $('#walesTxt').hide();
    $('#scotlandTxt').hide();
    $('#irelandTxt').hide();
    $('#onLoad').hide();
    $("#northernIrelandTxt").fadeIn("slow");
    });
    
    $("#wales").click(function () {
    
    $('#englandTxt').hide();
    $('#northernIrelandTxt').hide();
    $('#walesTxt').hide();
    $('#scotlandTxt').hide();
    $('#irelandTxt').hide();
    $('#onLoad').hide();
    $("#walesTxt").fadeIn("slow");
     });
    
    $("#scotland").click(function () {
    
    $('#englandTxt').hide();
    $('#northernIrelandTxt').hide();
    $('#walesTxt').hide();
    $('#scotlandTxt').hide();
    $('#irelandTxt').hide();
    $('#onLoad').hide();
    $("#scotlandTxt").fadeIn("slow");
    });
    
    $("#ireland").click(function () {
    
    $('#englandTxt').hide();
    $('#northernIrelandTxt').hide();
    $('#walesTxt').hide();
    $('#scotlandTxt').hide();
    $('#irelandTxt').hide();
    $('#onLoad').hide();
    $("#irelandTxt").fadeIn("slow");
    });      
    
    
     });
          });