-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
88 lines (85 loc) · 2.82 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="script.js" defer></script>
<title>quackspeak: Text-to-quack</title>
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2210 0 100 100%22><text y=%22.90em%22 font-size=%2290%22>🦆</text></svg>"
/>
</head>
<body>
<img
class="background-img"
src="assets/ducks-background.png"
alt=""
draggable="false"
/>
<main>
<div class="container">
<textarea
placeholder="Write some text here!"
class="js-input-text"
spellcheck="false"
></textarea>
<div class="voice-selector-container">
<label class="text-container" for="voice-selector">Voice</label>
<select id="voice-selector" class="js-voice-selector voice-selector">
<option default value="quack">Quack</option>
<option default value="bark">Bark</option>
<option default value="meow">Meow</option>
</select>
</div>
<div class="sliders">
<div class="slider-container">
<label class="text-container" for="pitch-slider">Pitch</label>
<input
type="range"
min="0"
max="2"
value="0.5"
step="0.05"
id="pitch-slider"
class="js-pitch-slider slider" />
</div>
<div class="slider-container">
<label class="text-container" for="interval-slider">Interval</label>
<input
type="range"
min="50"
max="200"
value="175"
step="1"
id="interval-slider"
class="js-interval-slider slider" />
</div>
</div>
<div class="button-container utils-flex-align-center">
<button class="js-say-it-button">Say it!</button>
</div>
</div>
<div class="dialogue">
<div class="heading">
<h1 class="utils-text-align-center">quackSpeak 🦆</h1>
</div>
<div class="dialogue-container utils-flex-align-center">
<img
id="dialogue-box"
src="assets/dialogue.png"
alt=""
draggable="false" />
<div class="js-dialogue-text dialogue-text"></div>
</div>
<div class="share">
<p class="utils-text-align-center">
It's open source! Check out the repo
<a href="https://github.com/burntcarrot/quackspeak">here</a>.
</p>
</div>
</div>
</main>
</body>
</html>