-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
23 lines (23 loc) · 1.32 KB
/
index.html
File metadata and controls
23 lines (23 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<title>The Slider</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="A tiny webapp for indecisive people.">
<script src="/app.js"></script>
<link rel="stylesheet" type="text/css" href="/styles.css">
</head>
<body onload="setSlider(); setupSliderEventListener();">
<h1>The Slider</h1>
<p>Have you ever had a friend ask you a yes or no question, but you answer isn't quite "yes" or "no?" Then The Slider is for you! Simply slide The Slider to your desired answer, hit copy link<!--or download the image-->, and send it off to your friend!</p>
<p>If you've just been sent this page, you've likely asked your friend a yes or no question with an answer that isn't quite yes or no. If so, look below for your friend's answer. (Don't move the slider though—you'll lose your friend's answer!)</p>
<div id=slidercontainer>
<div class=sliderlabel id=nolabel>No</div>
<input type="range" min=-10 max=10 value=0 id=slider>
<div class=sliderlabel id=maybelabel>Maybe</div>
<div class=sliderlabel id=yeslabel>Yes</div>
<button id=copylink onclick="copyLink()">Copy Link</button>
</div>
</body>
</html>