JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div id ="frame">
  <div id="image">
  </div>
  <div class="infotext">
    <span>here comes some text.</span>
  </div>
</div>

CSS

#image {
  max-width: 50px;
  max-height: 50px;
  overflow: hidden;
}

JavaScript

function showbox() {
  alert("show box");
}

$(document).ready(function() {

  $.get('https://jsfiddle.net/about', function(data) {
    $('#image').html(data);
    showbox();
  });

  $('#image').click(function() {
    showbox();
  });
});