-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
84 lines (70 loc) · 1.79 KB
/
index.htm
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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>fizzbuzz</title>
<style>
/* body {
display: flex;
justify-content: center;
align-items: center;
flex-flow: wrap row;
padding: 0;
margin: 0;
}
body > * {
width: 100vw;
} */
ul.active {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
float: left;
}
main {
transition: filter 0.5s ease;
}
.blur {
filter: blur(5px);
}
.error {
color: red;
line-height: 5px;
}
.error .text{
margin-left: 10px;
}
</style>
</head>
<body>
<main>
<form>
<fieldset>
<legend>FizzBuzz:</legend>
<label for="start-number">start number : </label>
<input type="number" id="start-number" value="1" />
<br />
<label for="final-number">final number : </label>
<input type="number" id="final-number" value="15" />
<br />
<label for="separator">separator : </label>
<input type="text" id="separator" value="-" maxlength="1" />
<br />
<button type="button" id="advanced-settings">
advanced settings
</button>
<button class="start" type="button">start</button>
<!-- <button class="save" type="button">save</button> -->
</fieldset>
</form>
<div class="error">
<h2 class="errtitle"></h2>
<br />
<span class="text"></span>
</div>
</main>
<ul class="special-numbers"></ul>
<script src="fizzbuzz.js"></script>
</body>
</html>