JSFiddle - React, Tailwind, and code Playground
HTML
<a id="load_test" href="#"><div class="menu">Services</div></a>
<div id="mainContent" class="content"><!-- content will be loaded here --></div>
JavaScript
$(document).ready( function() {
$("#load_test").click(function(){
$('#mainContent').html("<p>Hello, world!</p>");
})
});