Skip to content

Commit

Permalink
maked
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyushsaini7742 committed Dec 9, 2024
0 parents commit 7abe1f0
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Message Me</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

form {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
width: 300px;
}

h2 {
text-align: center;
margin-bottom: 20px;
color: #333;
}

input[type="text"],
input[type="email"],
textarea {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}

textarea {
resize: vertical;
height: 100px;
}

input[type="checkbox"] {
display: none;
}

button {
background-color: #28a745;
color: white;
padding: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 100%;
font-size: 16px;
transition: background-color 0.3s;
}

button:hover {
background-color: #218838;
}

@media (max-width: 400px) {
form {
width: 90%;
}
}
h1{
text-align: center;
color: #28a745;
}
</style>
</head>

<body>
<form action="https://api.web3forms.com/submit" method="POST">

<input type="hidden" name="access_key" value="82acfad1-8915-4689-a780-e9d599072811">
<h1>Message </h1>
<input type="text" name="name" required placeholder="Enter Your Name">
<input type="email" name="email" required placeholder="Enter Your E-mail">
<textarea name="message" required placeholder="Enter Your Message"></textarea>

<input type="checkbox" name="botcheck" class="hidden" style="display: none;">

<button type="submit">Submit Form</button>

</form>
</body>

</html>

0 comments on commit 7abe1f0

Please sign in to comment.