-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
41 lines (34 loc) · 1.41 KB
/
index.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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<h1>Set the render seed</h1>
<div class="slidecontainer">
<span id = "seedValue">0</span>
<form method="post" action="/">
<input type="range" min="0" max="2000" value="0" class="slider" id="seedSlider" name="seed">
<input type="submit">
</form>
</div>
<script>
const seedValue = document.getElementById("seedValue");
const seedSlider = document.getElementById("seedSlider");
seedSlider.oninput = function(){
seedValue.innerText = this.value;
}
</script>
</body>
</html>