JSFiddle - React, Tailwind, and code Playground

HTML

<div id="site-info">
    <button type="button">MUDAR DIV!</button>
</div>

JavaScript

(function () {
    var item = {
        Name: "site-info",
        Html: "Powered by <a target='_blank' href='https://www.twitter.com/FRNathan13'></a>",
        Footer: function () {
            this.parentNode.innerHTML = item.Html;
        }
    }
    document.querySelector('#' + item.Name + ' button').addEventListener('click', item.Footer);
})()