File tree Expand file tree Collapse file tree 1 file changed +75
-0
lines changed
Expand file tree Collapse file tree 1 file changed +75
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > Contact Us</ title >
6+ < link rel ="stylesheet " href ="./health_analysis.css ">
7+ < style >
8+ body {
9+ text-align : center;
10+ }
11+ /* Some basic styling for demonstration purposes */
12+ # contactForm {
13+ max-width : 400px ;
14+ margin : 0 auto;
15+ }
16+
17+ # contactForm input ,
18+ # contactForm textarea {
19+ width : 100% ;
20+ margin-bottom : 15px ;
21+ padding : 8px ;
22+ }
23+
24+ # contactForm button {
25+ padding : 10px 20px ;
26+ background-color : # 007bff ;
27+ color : white;
28+ border : none;
29+ cursor : pointer;
30+ }
31+
32+ # contactForm button : hover {
33+ background-color : # 0056b3 ;
34+ }
35+ </ style >
36+ </ head >
37+ < body >
38+ < nav >
39+ < h1 > Health Analysis Census</ h1 >
40+ < ul >
41+ < li > < a href ="./index.html " id ="home "> Home </ a > </ li >
42+ < li > < a href ="./health_contact.html " id ="contact "> Contact Us </ a > </ li >
43+ </ li >
44+
45+ </ ul >
46+ </ nav >
47+ < h1 > Contact Us</ h1 >
48+ < p > Feel free to contact us to know more about your conditions and for treatment methods.</ p >
49+
50+ < form id ="contactForm ">
51+ < div >
52+ < label for ="name "> Name</ label >
53+ < input type ="text " id ="name " name ="name " required >
54+ </ div >
55+ < div >
56+ < label for ="email "> Email</ label >
57+ < input type ="email " id ="email " name ="email " required >
58+ </ div >
59+ < div >
60+ < label for ="condition "> Condition</ label >
61+ < input type ="text " id ="condition " name ="condition " required >
62+ </ div >
63+ < div >
64+ < label for ="message "> Message</ label >
65+ < textarea id ="message " name ="message " rows ="5 " required > </ textarea >
66+ </ div >
67+ < button type ="submit " onclick ="thankyou() "> Submit</ button >
68+ </ form >
69+ < script >
70+ function thankyou ( ) {
71+ alert ( 'Thank you for contacting us!' )
72+ }
73+ </ script >
74+ </ body >
75+ </ html >
You can’t perform that action at this time.
0 commit comments