-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2b9b8e5
Showing
2 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<link href="style.css" rel="stylesheet"> | ||
</head> | ||
|
||
<body> | ||
<header> | ||
<h1>Survey Form</h1> | ||
</header> | ||
|
||
<div class="content"> | ||
<form> | ||
<div class="marginfix1"> | ||
<strong>Personal Details</strong> | ||
</div> | ||
<table class="marginfix1"> | ||
<tr> | ||
<td class="marginfix2">Name:</td> | ||
<td class="marginfix3"><input type="text" placeholder="Enter your name" name="name" required></td> | ||
</tr> | ||
<tr> | ||
<td class="marginfix2">Address:</td> | ||
<td class="marginfix3"><input type="text" placeholder="Enter your address" name="address" required></td> | ||
</tr> | ||
<tr> | ||
<td class="marginfix2">Email:</td> | ||
<td class="marginfix3"><input type="email" placeholder="Enter your email" name="email" required></td> | ||
</tr> | ||
<tr> | ||
<td class="marginfix2">Number:</td> | ||
<td class="marginfix3"><input type="number" placeholder="Enter your number" name="number" required></td> | ||
</tr> | ||
</table> | ||
<div class="marginfix1"> | ||
Please select your gender: | ||
</div> | ||
<table class="marginfix1"> | ||
<tr> | ||
<td class="marginfix2"><input type="radio" name="gender" value="m">Male</td> | ||
</tr> | ||
<tr> | ||
<td class="marginfix2"><input type="radio" name="gender" value="f">Female</td> | ||
</tr> | ||
<tr> | ||
<td class="marginfix2"><input type="radio" name="gender" value="o">Prefer Not to Say</td> | ||
</tr> | ||
</table> | ||
<hr class="headline"> | ||
<div class="marginfix1"> | ||
Additional Information | ||
</div> | ||
<table class="headline"> | ||
<tr> | ||
<td class="marginfix5"> | ||
<textarea name="additionalInfo" placeholder="Enter additional information" required></textarea> | ||
</td> | ||
</tr> | ||
</table> | ||
<table class="marginfix4"> | ||
<tr> | ||
<td> | ||
<input type="submit"> | ||
</td> | ||
</tr> | ||
</table> | ||
</form> | ||
<hr class="headline"> | ||
</div> | ||
|
||
<footer> | ||
<p>© 2023 Survey Form</p> | ||
</footer> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
body { | ||
font-family: "Montserrat", sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
color: #000; | ||
background-color: #f4f4f4; | ||
} | ||
|
||
header { | ||
background-color: #35424a; | ||
color: #ffffff; | ||
padding: 20px 0; | ||
text-align: center; | ||
} | ||
|
||
nav { | ||
background-color: #ea907a; | ||
text-align: center; | ||
padding: 10px 0; | ||
} | ||
|
||
nav a { | ||
text-decoration: none; | ||
color: #ffffff; | ||
padding: 10px 20px; | ||
} | ||
|
||
nav a:hover { | ||
background-color: #35424a; | ||
} | ||
|
||
.content { | ||
padding: 20px; | ||
} | ||
|
||
footer { | ||
background-color: #35424a; | ||
color: #ffffff; | ||
text-align: center; | ||
padding: 10px 0; | ||
position: fixed; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
|
||
.marginfix5 textarea { | ||
width: 100%; | ||
height: 100px; | ||
padding: 10px; | ||
box-sizing: border-box; | ||
} |