JSFiddle - React, Tailwind, and code Playground

HTML

<div onClick="document.getElementById('bottom').innerHTML =                       loadPage('http://google.com/');">Home</div>

        <div id="bottom"></div>

JavaScript

function loadPage(href)
            {
                var xmlhttp = new XMLHttpRequest();
                xmlhttp.open("GET", href, false);
                xmlhttp.send();
                return xmlhttp.responseText;
            }