JSFiddle - React, Tailwind, and code Playground

by heera

HTML

<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
    <div class="row text-center">
        <button type="submit" class="btn btn-lg btn-info">Click Here!</button>
    </div>

CSS

.btn {
    position: fixed;
    top: 0; left: 0; right: 0; bottom:0;
}

JavaScript

$(function(){
		var images = [
			"http://imageshack.us/a/img9/6564/3qv9.png",
			"http://imageshack.us/a/img9/4521/3dmc.png",
			"http://imageshack.us/a/img28/3608/1x6h.png",
			"http://imageshack.us/a/img850/1713/5i6g.png"
		];
        
		$(".btn-lg").on("click", function(){
            if(images.length) {
                var img = $('<img/>', { 'src':images.pop() });
                $('.row.text-center').append(img);
            }
		});
});