forked from rachelnicole/whatcat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (52 loc) · 1.5 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
<html>
<head>
<title>Which cat are you?</title>
<link rel="stylesheet" href="public/css/styles.css">
</head>
<body>
<h1 class="main-header">Which cat are you?</h1>
<div id="kitty-container">
<div class="selfie-wrapper">
<div id="selfie" style='position:relative;'>
<span style='left:0%;right:0%;bottom:0%;position:absolute;background:#EAFFFC;padding:5px;text-align:center;'>Click to use your webcam</span>
<img id='placeholder' src="public/images/mystery.png" alt="selfie placeholder">
<div id='webcam'></div>
</div>
<div class="yourEmotion">
</div>
</div>
<div class="kitty-wrapper">
<div id="catResult">
<div class="breedImg">
<img src="public/images/mystery.png" alt="cat placeholder">
</div>
<div class="breedName">
</div>
<div class="breedDesc">
</div>
</div>
</div>
<div class="form-wrapper">
<div class="step-one shown">
<form action="javascript:submitUrl();">
<div>
<input id="submitButton" type="submit" value="Meow">
</div>
</form>
<div class="form-error"></div>
</div>
<div class="step-two hidden">
<form action="javascript:startOver();">
<div>
<input id="redoButton" type="submit" value="Another?">
</div>
</form>
</div>
</div>
</div>
</div>
<script src="/socket.io/socket.io.js"></script>
<script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="public/js/meow.js"></script>
</body>
</html>