web-cheat/js-image-load.html
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>js-image-load</title>
</head>
<body>
<div>Click me to load the image.</div>
<img height="340" style="border:5px solid black;">
</body>
<script>
img = document.getElementsByTagName('img')[0];
document.getElementsByTagName('div')[0].addEventListener(
'click',
function(e) {
img.setAttribute('src', "https://raw.githubusercontent.com/cirosantilli/media/master/Ciro_Santilli's_learn_teach_apply_logo.png")
},
false
);
</script>
</html>