JSFiddle - React, Tailwind, and code Playground

HTML

<div class='ads'></div>
<div class='ads'></div>

CSS

.ads {
position: relative;
top: 15px;
float: right;
height: 60px;
width: 468px;
background-image:  
}

.ads + .ads {
    margin-top: 30px;
}

JavaScript

$(".ads").each(function() {
    var timestamp = $.now();
    $(this).css("background-image", "url('http://placehold.it/350x250?"+timestamp+"')");
});