-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (77 loc) · 2.34 KB
/
index.html
File metadata and controls
84 lines (77 loc) · 2.34 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>College Project</title>
<style>
/* Basic styling for demonstration purposes */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
.grid {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
}
.grid label {
display: block;
font-weight: bold;
}
.grid input[type="text"],
.grid input[type="email"],
.grid textarea {
width: 100%;
padding: 8px;
margin-top: 5px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.grid textarea {
height: 100px;
}
.submit-btn {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.submit-btn:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<h2>College Project</h2>
<form action="https://formspree.io/f/mayrwbpj" method="POST">
<div class="grid">
<label for="email">Your email:</label>
<input type="email" id="email" name="email" required>
<label for="first_name">First Name:</label>
<input type="text" id="first_name" name="first_name" required>
<label for="last_name">Last Name:</label>
<input type="text" id="last_name" name="last_name" required>
<label for="subject">Subject:</label>
<input type="text" id="subject" name="subject" required>
<label for="_status">Status:</label>
<input type="text" id="_status" name="_status" required>
<label for="message">Your message:</label>
<textarea id="message" name="message" required></textarea>
</div>
<button type="submit" class="submit-btn">Send</button>
</form>
</div>
</body>
</html>