-
Notifications
You must be signed in to change notification settings - Fork 0
/
events.html
80 lines (71 loc) · 2.08 KB
/
events.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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="css/index.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<style>
h1{
color: black;
}
html{
background-color: #4cd8c3;
}
body{
font-family: sans-serif;
line-height: 1.6;
}
form{
display:flex;
flex-direction:column;
width: 10rem;
height: 20rem;
overflow:hidden;
text-wrap: wrap;
}
</style>
<title>Youth4Good | Events</title>
<script src="js/cookie.js"></script>
<script src="js/header.js"></script>
<script src="js/events.js"></script>
</head>
<body>
<!-- Header -->
<header>
<h1>Youth4Good</h1>
<p> Empowering Kids to Make a Difference</p>
<h2 style="text-align:center;"> Events</h2>
<nav class="sidebar">
<a href="index.html">Home</a>
<a href="getInvolved.html">Get Involved</a>
<a href="events.html">Events</a>
<a href ="signup.html">Sign Up</a>
<a href = "login.html" id = "login">Log In</a>
<a href = "profile.html" id = "profile" style = "display:none;">Your Profile</a>
</nav>
</header>
<section class="section">
<h2>Featured Projects</h2>
<div class="projects" id="projects">
</div>
</section>
<div id = "eventform"class="eventform" style="display: none;">
<h3 style = "text-align:center;"> Create an Event</h1>
<form action="/createevent" method="post">
<label for="name" placeholder:>Event Name:</label>
<input type="text" id="name" name="name" required>
</br>
<label for="location" placeholder:>Event location:</label>
<input type="text" id="location" name="location" required>
</br>
<label for="date">Event time:</label>
<input type="datetime" id="date" name="date" required>
</br>
<label for = "description">Event Description:</label>
<input type="text" id="description" name="description">
</br>
<button type="submit">Create an Event</button>
</form>
</div>
</body>
</html>