forked from maxwofford/rizer-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage-2.html
41 lines (35 loc) · 1.66 KB
/
page-2.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
<!DOCTYPEhtml>
<html>
<head>
<meta charset="utf-8">
<title>Legs for your Laptop!</title>
<meta name="description" content="">
<meta name="keywords" content="">
<!--Resources-->
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="https://cdn.firebase.com/v0/firebase.js"></script>
</head>
<body>
<div class="content">
<div class="text-area">
<h1>How great is it?</h1>
<h5>We'd love to hear your feedback on what you liked about Legtops, but more importantly, how can we improve?</h5>
<!--User input area-->
<input id="emailInput" type="email" placeholder="Enter your email" value="">
<textarea id="feedbackInput" =type="text" placeholder="I thought it was..." value=""></textarea>
<!--User submit button-->
<input type="submit" id="submitButton" class="btn" value="Pre-order" onClick="submitFeedback(userEmail, userFeedback);">
</div>
</div>
<footer>
<p>© 2014 <a href="https://github.com/Legtops/LegtopsModels">Legtops</a></p>
</footer>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.0.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript">
var ref = new Firebase("https://rizer-email.firebaseio.com/feedback"); /*Initialize firebase*/
var userEmail = document.getElementById("emailInput").value; /*Read the email the user typed in*/
var userFeedback = document.getElementById("feedbackInput").value; /*Read the feedback the user typed in*/
</script>
</body>
</html>