JSFiddle - React, Tailwind, and code Playground

HTML

<div id="screenshots"></div>

JavaScript

var link = "http://google.com",
    title = "Google!",
    el = "http://placehold.it/200x200";
$("#screenshots")
    .append(
        $("<a>")
            .attr({
                'href': link,
                'title': title
            })
            .append(
                $("<img>")
                    .attr({
                        'src': el,
                        'alt': '',
                        'width': '200px',
                        'height': '200px'
                    })
            )
    );