<html>
<body>
<p id="demo"></p>
<img id="imageMain" src ="https://img.freepik.com/premium-vector/quiz-comic-pop-art-style_175838-505.jpg" width=75%>
<script>
var answer = ""
//document.getElementById("demo").innerHTML = "Question one - How tall is Bigben in metres(m)?";
answer = prompt("How tall is bigben?");
if (answer == "96"){
document.getElementById("imageMain").src = "https://images.pexels.com/photos/635611/pexels-photo-635611.jpeg";
}
else{
alert("Sorry wrong answer, it was 96 metres");
document.getElementById("image").src = "https://t4.ftcdn.net/jpg/01/02/39/59/360_F_102395943_0jOAtQNqlvQpA9soKBUMXksgvq4ZDx04.jpg";
}
</script>
</body>
</html>