<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<button onclick="myFunction()" >Display Image</button>
</body>
</html>
// Code goes here
function myFunction() {
var x = document.createElement("IMG");
x.setAttribute("src", "http://www.w3schools.com/jsref/compman.gif");
x.setAttribute("width", "304");
x.setAttribute("width", "228");
x.setAttribute("alt", "The Pulpit Rock");
document.body.appendChild(x);
}
/* Styles go here */