-
Notifications
You must be signed in to change notification settings - Fork 0
/
20_is_negative.html
110 lines (101 loc) · 3.68 KB
/
20_is_negative.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
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Time</title>
<style media="screen">
*{
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
display: grid;
grid-template-columns: 200px auto 200px;
grid-template-rows: auto auto auto;
font-family: sans-serif;
color: #fff;
background-color: #2485c2;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http:https://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%230096ff' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-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2;
grid-column-end: 2;
grid-row-start: 1;
grid-row-end: 1;
padding: 10px;
align-self: flex-start;
}
.opis h1 {
margin-bottom: 10px;
font-weight: 700;
}
.wynikk {
grid-column-start: 2;
grid-column-end: 2;
grid-row-start: 2;
grid-row-end: 3;
padding: 10px;
align-self: center ;
justify-self: center;
text-align: center;
}
.wynikk h2{
text-align: left;
}
#dzien{
font-size: 5em;
font-family: sans-serif;
color: #9324c2;
}
#godzina{
font-size: 5em;
font-family: sans-serif;
color: #9324c2;
}
input{
padding: 10px;
}
.buton {
padding: 10px 30px;
background-color: red;
color: #fff;
font-size: 1.1em;
align-self: center;
justify-self: center;
text-align: center;
border: none;
margin: 10px;
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.75);
transition: all 0.2s;
}
.buton:active{
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 1);
}
.rozsz{
font-size: 4em;
margin: 100px;
}
.wynik{
font-size: 3em;
margin: 50px;
}
</style>
</head>
<body>
<section class="opis">
<h1>Opis ćwiczenia</h1>
<p>
Napisz program JavaScript, który sprawdzi czy któraś dwóch liczb całkowitych jest dodatnia albo ujemna.
</p>
</section>
<section class="wynikk">
<input type="text" name="" value="" class="num1">
<input type="text" name="" value="" class="num2">
<div class="wynik"></div>
</section>
<script src="20_is_negative.js" charset="utf-8"></script>
</body>
</html>