previous

page 10

next

Before proceeding, please remove some of the data from quiz.html. You might consider this strange but we only needed it there while we were getting the layout set up. get_pic() will fill in the missing data. So it should still work as before.

<html>
<head>
<title>Quiz</title>
<link rel='stylesheet' href='styles.css'>
<script src='pics.js'></script>
<script src='library.js'></script>
<script src='globals.js'></script>
<script src='functions.js'></script>
</head>
<body>
<div id='title'>Quiz</div>
<div id='score'>Score: 0 / 0</div>
<div id='main'>
<div>
<img id='pic'>
</div>
<div id='answers'>
<div id='0' onClick='klick(this);'></div>
<div id='1' onClick='klick(this);'></div>
<div id='2' onClick='klick(this);'></div>
<div id='3' onClick='klick(this);'></div>
<div id='4' onClick='klick(this);'></div>
</div>
</div>
<script>setup();</script>
</body>
</html>
previous
next