-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup.html
More file actions
70 lines (70 loc) · 2.89 KB
/
Copy pathsignup.html
File metadata and controls
70 lines (70 loc) · 2.89 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="app.js"></script>
<title>Get Shrek'd</title>
</head>
<body>
<!--navbar-->
<nav class="navbar">
<div class="navbar_container">
<ul class="navbar__menu">
<li class="navbar__item">
<a href="index.html" class="navbar__links" id="home-page">Home</a>
</li>
<li class="navbar__item">
<a href="about.html" class="navbar__links" id="about-page">About</a>
</li>
<li class="navbar__item">
<a href="index.html#swamp" class="navbar__links" id="services-page">Swamp</a>
</li>
<li class="navbar__btn">
<<a href="signup.html" class="button" id="signup">Sign up</a>
</li>
</ul>
</div>
</nav>
<!--Main Shrektion-->
<div class="signup" id="home">
<div class="shrek__container">
<h1 id="signup-label">Sign up</h1>
<form onsubmit="return false" id="user-form">
<label for="uname">Username:</label><br>
<input type="text" id="uname" name="uname"><br>
<label for="pwd">Password:</label><br>
<input type="password" id="pwd" name="pwd"><br>
<label for="fav-movie">Favorite Shrek Motion Picture:</label><br>
<select name = "fav-movie" id="movie">
<option value = "Shrek" selected>Shrek (2001)</option>
<option value = "Shrek 2">Shrek 2 (2004)</option>
<option value = "Shrek The Third">Shrek The Third (2007)</option>
<option value = "Shrek Forever After">Shrek Forever After (2010)</option>
<option value = "Untitled fifth Shrek film">Untitled fifth Shrek film (TBA)</option>
</select>
<input type="submit" value="Submit" id="signup-submit" class="main__btn">
</form>
<table id = "user-table" style = "visibility: hidden">
<tr>
<th>Username</th>
<th>Password</th>
<th>Favorite Shrek Movie</th>
</tr>
<tr>
<td id="tuname"></td>
<td id="tpwd"></td>
<td id="tmovie"></td>
</tr>
</table>
<!--please ignore-->
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</div>
</div>
<script>
document.getElementById("signup-submit").addEventListener('click', displayUserInfo);
</script>
</body>
</html>