-
Notifications
You must be signed in to change notification settings - Fork 208
/
index.html
101 lines (91 loc) · 3.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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" charset="UTF-8">
<title>Letter to Santa</title>
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700,900" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<header>
<ul>
<li><a href="wish-list.html">Your Wish List</a></li>
<li><h1>Letter to Santa</h1></li>
<li><a href="result.html">Your Gift </a></li>
</ul>
</header>
<section>
<img src="img/gift_top.svg" class="gift_top">
<form enctype="multipart/form-data" method="post" name="letterToSanta" class="letterToSantaForm">
<p>Dear Santa,</p>
<p>My name is <input type="text" name="name" class="name"> and I live in
<select name="city">
<option value=""></option>
<option value="adelaide">Adelaide</option>
<option value="brisbane">Brisbane</option>
<option value="cairns">Cairns</option>
<option value="darwin">Darwin</option>
<option value="melbourne">Melbourne</option>
<option value="perth">Perth</option>
<option value="sydney">Sydney</option>
</select>.</p>
<div class="errorsBlock">
<span class="name"></span>
<span class="city"></span>
</div>
<p> I think this year I have been
<input type="radio" value="veryGood" name="goodVSnaughty"> Very Good
<input type="radio" value="good" name="goodVSnaughty"> Good
<input type="radio" value="naughty" name="goodVSnaughty" checked> A little Naughty. </p>
<p>This Christmas, I would really like to receive </p>
<p>
<textarea name="description" rows="4" cols="45"></textarea>
</p>
<div class="errorsBlock">
<span class="description"></span>
</div>
<p>Upload image <input type="file" name="wishImage" onchange="uploadFile()"></p>
<p>
<button name="submit" onclick="validateForm()">
Send your letter
</button>
</p>
</form>
<img src="img/gift_box.svg" class="gift_bottom">
</section>
<div class="on-success hiddenWindow">
<div>
<h1>Your letter is sent to Santa</h1>
<button onclick="hideOnSuccessWindow()">Write another letter</button>
<button onclick="redirectToWishlist()">See all your wishes</button>
</div>
</div>
<footer>
<ul>
<li class="twitter">
Twitter:
<a href="https://twitter.com/NodeGirlsSydney" target="_blank" rel="noopener noreferrer">@NodeGirlsSydney</a>
<a href="https://twitter.com/NodeGirlsMelb" target="_blank" rel="noopener noreferrer">@NodeGirlsMelb</a>
<a href="https://twitter.com/NodeGirlsBri" target="_blank" rel="noopener noreferrer">@NodeGirlsBri</a>
<a href="https://twitter.com/NodeGirlsPerth" target="_blank" rel="noopener noreferrer">@NodeGirlsPerth</a>
</li>
<li class="facebook">
Facebook:
<a href="https://www.facebook.com/NodeGirlsAustralia" target="_blank" rel="noopener noreferrer">NodeGirlsAustralia</a>
</li>
</ul>
<ul>
<li class="website">
Website:
<a href="http://nodegirls.com.au" target="_blank" rel="noopener noreferrer">nodegirls.com.au</a>
</li>
<li class="email">
e-mail:
<a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer">[email protected]</a>
</li>
</ul>
</footer>
<script src="js/main.js"></script>
</body>
</html>