JSFiddle - React, Tailwind, and code Playground

by Rob Janssen

HTML

<img src="https://www.google.com/images/srpr/logo4w.png" class="myimage">

JavaScript

$(".myimage").error(function(){
  $(this).hide();
});