<HTML> <!-- Each documents commences in this manner.-->
<HEAD> <!-- Head section opened. Contains character set information and the title of your page, i.e., the one which appears in the top bar of your browser-->
<META http-equiv="Content-Type" content="text/html; charset=windows-1250"> <!-- Content and character set defined. Meta does not need to be closed-->
<TITLE>The Pronouns</TITLE> <!-- Title given, the title tag has to be closed-->
</HEAD> <!-- Head section closed-->
<BODY> <!-- Body section opened. Body contains all elements you see on your Web page.-->
<!-- Java script commences below with the tag: script language="javascript" and ceases with the tag /script below-->
<!-- Variables i and b declared and set to zero in lines two and three-->
<!-- The config line sets the features of the window to be opened later, such as dimensions, position, elements, etc.-->
<!-- The next line called config+ tells what happenes if there are changes to the window: it adds scrollbars if there is more text then the hight of the window-->
<!--The pop line tells to open a window using the configuration defined in the previous two lines-->
<!-- The pop.document.write line tells what to write in the window and with which size of the font - heading six-->
<!-- This java script thus opens a new window, writes a text to it, and sets to variables to be used later on-->
<script language="javascript">
var i=0;
var b=0;
config='toolbar=no,scrollbars=yes,location=no,directories=no,status=no,menubar=yes,width=180,height=450,top=0,left=600'
config += 'scrollbars=yes,resizable=no'
pop = window.open ("","pop",config)
pop.document.write('<h6>Your score and your mistakes will be listed in this window at the end so that you can print them out. Go to the excercise window now. Return to this window if you want to print out your results<h6>')
</script>
<FORM> <!--Form opened-->
Juče smo razgovarali o <!-- Text you see on the screen-->
<INPUT type="TEXT" name="item3a" size="6"> <!-- Text field named item3a inserted-->
(her). Vi ste razgovarali sa <!-- Text you see on the screen-->
<INPUT type="TEXT" name="item4a" size="6"> <!-- Text field named item4a inserted-->
(us). Oni putuju bez <!-- Text you see on the screen-->
<INPUT type="TEXT" name="item5a" size="6"> <!-- Text field named item5a inserted-->
(them). <!-- Text you see on the screen-->
<hr> <!-- Division line inserted-->
<!-- The Check your answers button defined and described below-->
<!-- First if line: If the answer is a correct one, increase the value of the variable called i for one point (i++)-->
<!-- Else, write in the previously opened window-->
<!-- Which item was in question, what was the wrong answer and what is the right answer-->
<!-- The text is also formated, for example, the wrong answer is striked through and in red-->
<!-- This is repeated three times for each of the three text boxes-->
<!-- The b= line calculates the pecent of the value i, which was increased for each correct answer-->
<!-- The next two lines put the value i (number of correct answers) and b (percentage of correct answers-->
<!-- Into the text fields item7aa and item7a respectivelly-->
<!-- pop.document.write writes the score in the pop up window-->
<!-- The next two lines set the two variables to zero to get correct numbers in the next attempt-->
<!-- The quotation mark and the bracket close the button field-->
<INPUT type="button" name="button4" value="Check your answers" size="5" onClick="
if (form.item3a.value == 'njoj') {
i++;
} else {
pop.document.write('<h5>Item: <i>her</i>, your answer: <strike><font color=red>'+form.item3a.value+'</font></strike>, Correct answer: <b>njoj</b></h5>');}
if (form.item4a.value == 'nama') {
i++;
} else {
pop.document.write('<h5>Item: <i>us</i>, your answer: <strike><font color=red>'+form.item4a.value+'</font></strike>, Correct answer: <b>nama</b></h5>');}
if (form.item5a.value == 'njih') {
i++;
} else {
pop.document.write('<h5>Item: <i>them</i>, your answer: <strike><font color=red>'+form.item5a.value+'</font></strike>, Correct answer: <b>njih</b></h5>');}
b=(i/3)*100;
(form.item7a.value = b);
(form.item7aa.value = i);
pop.document.write('<h4>Your score:'+form.item7aa.value+' points or: '+form.item7a.value+'%</h4>');
i=0;
b=0;
">
Your score is: <!-- Text you see on the screen-->
<INPUT type="TEXT" align=right name="item7aa" size="2"> <!-- Text field named item7aa inserted-->
hits, <!-- Text you see on the screen-->
<INPUT type="TEXT" align=right name="item7a" size="4"> <!-- Text field named item7a inserted-->
% <!-- Text you see on the screen-->
<INPUT type=reset value=Clear name=reset> <!-- Reset button, i.e. the button which clears all fields inserted-->
</BODY> <!-- body closed-->
</HTML> <!-- html closed-->