JSFiddle - React, Tailwind, and code Playground

by hunter

HTML

<div id="images"></div>

JavaScript

var thumb = "http://www.google.com/images/logos/ps_logo2.png";

$("#images").append($("<a>", 
{
    href: "#", 
    html: $("<img>", { src: thumb })
}));