-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcont.html
143 lines (127 loc) · 4.11 KB
/
cont.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact US</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: linear-gradient(135deg, #1f1c2c, #928dab);
color: white;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.form-container {
background-color: #2d2a3d;
padding: 40px;
border-radius: 10px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.6);
width: 400px;
}
.form-container h1 {
text-align: center;
color: #f0f0f0;
font-weight: bold;
margin-bottom: 30px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
font-weight: bold;
font-size: 14px;
display: block;
margin-bottom: 8px;
}
.form-group input, .form-group textarea {
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #3b365a;
color: white;
font-size: 14px;
}
.form-group input:focus, .form-group textarea:focus {
outline: none;
background-color: #524f6b;
}
.form-group textarea {
resize: none;
height: 100px;
}
.submit-btn {
width: 100%;
padding: 12px;
background-color: #6a63a1;
border: none;
border-radius: 5px;
font-size: 16px;
font-weight: bold;
color: white;
cursor: pointer;
transition: background-color 0.3s ease;
}
.submit-btn:hover {
background-color: #817ab8;
}
.form-container p {
text-align: center;
margin-top: 15px;
color: #d1cfd9;
}
.form-container p a {
color: #6a63a1;
text-decoration: none;
}
.form-container p a:hover {
text-decoration: underline;
}
@media (max-width: 480px) {
.form-container {
width: 90%;
padding: 30px;
}
}
</style>
</head>
<body>
<div class="form-container">
<h1>Submit Your Song</h1>
<form id="musicForm" action="mailto:[email protected]" method="post" enctype="text/plain">
<div class="form-group">
<label for="name">Your Name</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required>
</div>
<div class="form-group">
<label for="song-name">Song Name</label>
<input type="text" id="song-name" name="song-name" placeholder="Enter the song name" required>
</div>
<div class="form-group">
<label for="youtube-link">YouTube Link</label>
<input type="url" id="youtube-link" name="youtube-link" placeholder="Enter the YouTube link (optional)">
</div>
<div class="form-group">
<label for="suggestions">Suggestions & Improvements</label>
<textarea id="suggestions" name="suggestions" placeholder="Share your thoughts (optional)..."></textarea>
</div>
<button type="button" class="submit-btn" onclick="confirmSubmission()">Submit</button>
</form>
<p>Want to share more? <a href="#">Contact us here!</a></p>
</div>
<script>
function confirmSubmission() {
var form = document.getElementById('musicForm');
var confirmation = confirm("Your data will be sent via email. After submitting, you will be redirected to your mail app.");
if (confirmation) {
form.submit();
}
}
</script>
</body>
</html>