JSFiddle - React, Tailwind, and code Playground

by dauruk0512

HTML

<div id="akbarslide">
    <img src="image_suspetio/garbage.jpg" alt="garbage.jpg" width="270" height="250" /><img src="image_suspetio/dog.jpg" alt="dog.jpg" width="270" height="250" /><img src="image_suspetio/bar.jpg" alt="bar.jpg" width="270" height="250" /><img src="image_suspetio/sky.jpg" alt="sky.jpg" width="270" height="250" />
    
</div>

JavaScript

$("img[src$='garbage.jpg']").remove();