-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhealth_contact.html
71 lines (69 loc) · 1.72 KB
/
health_contact.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Contact Us</title>
<link rel="stylesheet" href="./health_analysis.css">
<style>
body{
text-align: center;
}
/* Some basic styling for demonstration purposes */
#contactForm {
max-width: 400px;
margin: 0 auto;
}
#contactForm input,
#contactForm textarea {
width: 100%;
margin-bottom: 15px;
padding: 8px;
}
#contactForm button {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
cursor: pointer;
}
#contactForm button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<nav><h1>Health Analysis Census</h1>
<ul>
<li><a href="./index.html" id="home">Home </a></li>
<li><a href="./health_contact.html" id="contact">Contact Us </a></li>
</li>
</ul>
</nav>
<h1>Contact Us</h1>
<p>Feel free to contact us to know more about your conditions and for treatment methods.</p>
<form id="contactForm">
<div>
<label for="name">Name</label>
<input type="text" id="name" name="name" required>
</div>
<div>
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
</div>
<div>
<label for="condition">Condition</label>
<input type="text" id="condition" name="condition" required>
</div>
<div>
<label for="message">Message</label>
<textarea id="message" name="message" rows="5" required></textarea>
</div>
<button type="submit" onclick="thankyou()">Submit</button>
</form>
<script>
function thankyou(){
alert('Thank you for contacting us!')
}
</script>
</body>
</html>