JSFiddle - React, Tailwind, and code Playground
by darkajax
HTML
<div id="staff1">A</div>
<div id="staff2">B</div>
<div id="staff3">C</div>
JavaScript
$('#staffer1').click(function() {
$("#staff1").show();
$("#staff2").hide();
$("#staff3").hide();
});
$('#staffer2').click(function() {
$("#staff2").show();
$("#staff1").hide();
$("#staff3").hide();
});
$('#staffer3').click(function() {
$("#staff3").show();
$("#staff1").hide();
$("#staff2").hide();
});