function fnOnImgFailed() {
  let img1 = document.createElement("img");
  img1.src = "./assets/img/assemblers.png";
  document.getElementById("e7Js").append(img1);
  img1.onerror = function () {
    document.getElementById("e7JsDemo").textContent = "Image Failed.";
  };
}
// on image failed to load event
on image failed to load event
on image failed to load event
function fnOnImgFailed() {
  let img1 = document.createElement("img");
  img1.src = "./assets/img/assemblers.png";
  document.getElementById("e7Js").append(img1);
  img1.onerror = function () {
    document.getElementById("e7JsDemo").textContent = "Image Failed.";
  };
}
function fnOnImgFailed ( ) { let img1 = document . createElement ( "img" ) ; img1 . src = "./assets/img/assemblers.png" ; document . getElementById ( "e7Js" ) . append ( img1 ) ; img1 . onerror = function ( ) { document . getElementById ( "e7JsDemo" ) . textContent = "Image Failed." ; } ; }
on image failed to load event
on image failed to load event