32 lines
678 B
HTML
32 lines
678 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="style.css">
|
|
</head>
|
|
<body>
|
|
<h1>The Monty Hall game</h1>
|
|
|
|
<div id="doors">
|
|
<div id="door1" class="closedDoor">Door 1</div>
|
|
|
|
<div id="door2" class="closedDoor">Door 2</div>
|
|
|
|
<div id="door3" class="openedDoor">Door 3</div>
|
|
</div>
|
|
|
|
|
|
<div id="message1">Messages will be written here.</div>
|
|
|
|
|
|
<div id="switch">
|
|
Change your answer?
|
|
<input type="button" id="switchChoice" value="Switch">
|
|
<input type="button" id="keepChoice" value="Stay with Door ???">
|
|
</div>
|
|
|
|
<div id="message2">More messages will be written here.</div>
|
|
|
|
<input id="restart" type="button" value="Restart!">
|
|
</body>
|
|
</html>
|