forked from p19pasc/polumesa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTrueFalse.html
108 lines (107 loc) · 5.33 KB
/
TrueFalse.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html> <!-- it informs the browswer to expect html -->
<html lang="en"> <!-- declare the language of the webpage-->
<!-- head section includes page's properties and the necessary .css - .js files -->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Σωστό-Λάθος</title> <!-- Title of the webpage -->
<link rel="stylesheet" href="index.css"> <!-- the css for the menu navigation bar-->
<link rel="stylesheet" href="TrueFalse.css">
<script src="TrueFalse.js"></script>
</head>
<body> <!-- section that containes headings, paragraphs , hyperlinks -->
<nav><!-- navigation bar -->
<ul><!-- the links that display on the navigation bar -->
<li><h1 id="title">Quiz Πληροφορικής</h1></li>
<li><a href="index.html">Αρχική</a></li>
<li><a href="quiz1.html">Quiz1</a></li>
<li><a href="gap.html">Quiz2</a></li>
<li><a href="TrueFalse.html">Quiz3</a></li>
<li><a href="about.html">Σχετικά Με Εμάς</a></li>
</ul>
</nav>
<br>
<div><center><h2 id="tittle">ΕΚΦΩΝΗΣΗ</h2></center></div> <!-- a title in the center of the screen-->
<br> <br>
<b><p id="quiz1audiocss" style="font-size: 21px;" >Ακούστε το ηχητικό για οδηγίες!</p></b>
<br>
<div class="audiofile"> <!-- a class to put audiofile -->
<audio controls>
<source src="images_mp3/TrueFalse.mp3" type="audio/mpeg"> <!-- the .mp3 file we use -->
</audio>
</class>
</div>
<!-- we use split screen to cut the display -->
<section>
<div class="split left"> <!-- the "left" refers to the left part-->
<img align="left" class="diagram1" src="images_mp3/1_.png" width="338.27411" height="571.4631"> <!-- class for image which is displayed on the left side
of the left part with the given width and size-->
<br> <br> <br> <br>
<div class="first_text"> <!-- we create a class which contains a text that can be processed in TrueFalse.css-->
<p>
Αλγόριθμος Άσκηση1<br>
Διάβασε α<br>
Αν α > 0 τότε<br>
α <- α + 2<br>
Αλλιώς<br>
Διάβασε β<br>
β <- β – 4<br>
α <- α + 3<br>
Εμφάνισε β<br>
Τέλος_αν<br>
Εμφάνισε α<br>
Τέλος Άσκηση1
<br>
<br>
</p>
<!-- a box for the input answer-->
<div class="first_box"><input type="text" style="width: 32px; height:40px; font-size: 32px; text-align:center; color: white;" name="input"></p></div>
<br>
</div>
</div>
</section>
<section>
<div class="split right"> <!-- the "right" refers to the right part-->
<img align="left" class="diagram2" src="images_mp3/2_.png" width="503.25" height="563.25"> <!-- class for image which is displayed on the left side
of the right part with the given width and size-->
<br> <br> <br> <br>
<div class="second_text"> <!-- we create a class which contains a text that can be processed in TrueFalse.css-->
<p>
Αλγόριθμος Άσκηση2<br>
Διάβασε α,β<br>
i <- 10<br>
Όσο i > 1 και i <= 10 Επανάλαβε<br>
Αν i = 10 τότε<br>
Εμφάνισε α<br>
Τέλος_αν<br>
i <- i div 2<br>
Τέλος_Επανάληψης<br>
Αν α > i τότε<br>
Εμφάνισε "Το α > i"<br>
Τέλος_αν<br>
Τέλος Άσκηση2
<br>
<br>
</p>
<!-- a box for the input answer with css commands for its decoration-->
<div class="second_box"><input type="text" style="width: 32px; height:40px; font-size: 32px; text-align:center; color: white;" name="input"></p></div>
<br>
</div>
</div>
</section>
<!-- div id="disappear" and div id="center" are responsible for the Submit - Repeat buttons and the displayed message -->
<div id="disappear">
<div id="center">
<button id="button" onclick="submit()">Submit</button><!--we create a class that creates a button and we give an id useful
in the css code. onclick="submit()" is a function in javascript that is being called when user clicks the button -->
</div>
</div>
</br>
<div id="center">
<!-- These ids are useful in javascript-->
<p id="message"></p><!-- id="message" displays a message when submit button is pressed -->
<p id="reload"></p><!-- id="reload" reloads the page by clicking the Repeat button-->
</div>
</body>
</html>