-
Notifications
You must be signed in to change notification settings - Fork 0
/
contacthere.html
132 lines (119 loc) · 5.65 KB
/
contacthere.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="img/fevicon.png" type="image/png">
<title>Contact</title>
<link rel="stylesheet" href="bootstrap.css">
<link rel="stylesheet" href="linericon/style.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="responsive.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body{
background-image:url("img/contact.jpg");
background-repeat: no-repeat;
background-size: cover;
}
</style>
</head>
<body>
<script>
function validation()
{
var name=document.getElementById("name").value;
var email=document.getElementById("email").value;
var subject=document.getElementById("subject").value;
var message=document.getElementById("message").value;
if(name=="")
{
alert("Please Enter Name");
}
else if(email=="")
{
alert("Please Enter Email Id");
}
else if(subject=="")
{
alert("Please Enter subject");
}
else if(message=="")
{
alert("Please Write Message");
}
else
{
alert("Message Send Successfully");
}
}
</script>
<header class="header_area">
<div class="main_menu">
<div class="container">
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand logo_h" href="index.html" style="color:white;font-size:20px;font-weight:bold;">THE SPARKS FOUNDATION</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="collapse navbar-collapse offset" id="navbarSupportedContent">
<ul class="nav navbar-nav menu_nav ml-auto">
<li class="nav-item"><a class="nav-link" href="index.html" style="color:black;" onMouseOver="this.style.color='orange'"onMouseOut="this.style.color='black'">Home</a></li>
<li class="nav-item"><a class="nav-link" href="about.html" style="color:black;" onMouseOver="this.style.color='orange'"onMouseOut="this.style.color='black'">About</a></li>
<li class="nav-item active"><a class="nav-link" style="color:orange;" >Contact</a></li>
</ul>
</div>
</div>
</nav>
</div>
</div>
</header>
<section class="contact_area section_gap" style="padding:200px 70px 20px 70px;">
<div class="row">
<div class="col-lg-3">
<div class="contact_info">
<div class="info_item">
<i class="fa fa-home"></i>
<h6 style="color:rgb(255, 0, 34);"><b>Siliguri, Darjeeling District</b></h6>
</div><br>
<div class="info_item">
<i class="fa fa-phone"></i>
<h6><a href="#" style="color:rgb(255, 0, 0);"><b>03581-259-748</b></a></h6>
</div><br>
<div class="info_item">
<i class="fa fa-envelope"></i>
<h6><a href="#" style="color:rgb(255, 30, 0);"><strong>[email protected]</strong></a></h6>
</div><br>
</div>
</div>
<div class="col-lg-9">
<form class="row contact_form" id="contactForm" novalidate="novalidate">
<div class="col-md-6">
<div class="form-group">
<input type="text" class="form-control" id="name" name="name" placeholder="Enter your name">
</div>
<div class="form-group">
<input type="email" class="form-control" id="email" name="email" placeholder="Enter email address">
</div>
<div class="form-group">
<input type="text" class="form-control" id="subject" name="subject" placeholder="Enter Subject">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<textarea class="form-control" name="message" id="message" rows="1" placeholder="Enter Message"></textarea>
</div>
</div>
<div class="col-md-12 text-right">
<button type="submit" value="submit" class="btn btn-danger" onclick="validation()" >Send Message</button>
</div>
</form>
</div>
</div>
</div>
</section>
</body>
</html>