JSFiddle - React, Tailwind, and code Playground

by Timatnet

HTML

<script src="https://getfirebug.com/firebug-lite.js"></script>

<h1>Utility for worst image part detection</h1>
<h2>- for painters</h2>
Choose most beautiful image:
<table>
<tr>
<td>
<img id="p1"/>
</td>
<td>
<img id="p2"/>
</td>
</tr>
</table>

JavaScript

// utility for image worst part detection - for painters

var x = 3, y = 3;
// show, on click next
function next() {
    $('p1').attr({src:'url(http://sprott.physics.wisc.edu/images/cat.bmp)', width: '200px', height: '200px'});
}

next();

// after all - end
// show table of beatifullness, highlight worst with red, most beatiful with light green