-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.html
96 lines (85 loc) · 3.71 KB
/
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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact</title>
<link rel="shortcut icon" type="image" href="img/logo.webp">
</head>
<link href="https://fonts.googleapis.com/css?family=Baloo+Bhai&display=swap" rel="stylesheet">
<link rel="stylesheet" href="contact.css">
<body>
<nav class="navbar background">
<ul class="nav-list">
<div class="logo"><img src="img/khatabook1.jpg" alt="logo"></div>
<li> <a href="index.html">Home</a></li>
<li> <a href="about.html">About</a></li>
<li> <a href="service.html">Services</a></li>
<li> <a href="qr.html">QR</a></li>
<li> <a href="join.html">Join Us</a></li>
<li> <a href="contact.html">Contact</a></li>
</ul>
<div class="rightNav">
<a href="register.html">
<button class="btn btn-sm">Register</button>
</a>
</div>
</nav>
<div class="container">
<form action="javascript:sendmail()" method="post">
<h3>GET IN TOUCH</h3>
<input type="text" id="name" placeholder="Your Name" required>
<input type="email" id="email" placeholder="Email Id" required>
<input type="text" id="phone" placeholder="Phone No" required>
<textarea id="message" rows="4" placeholder="How can we help you?"></textarea>
<button type="submit">Send</button>
</form>
</div>
<div class="contact-me">
<p>Build for the next billion users coming <br> <br>online for the first time</p>
<a class="button-two" href="register.html">Khatabook</a>
</div>
<!----footer start---->
<footer>
<p>Khatabook</p>
<p>The Khatabook team offers customer support from 7am to 10pm on all days. <br> <br>Call us on +91-9606800800 or write to us at feedback@khatabook.com</p>
<div class="social">
<a href="https://www.facebook.com/"><img src="img/facebook.jpg" alt="fb" width="50px" height="50px"></a>
<a href="https://instagram.com/"><img src="img/instagram.png" alt="insta" width="50px" height="50px"></a>
<a href="https://www.linkedin.com/"><img src="img/inkedin.png" alt="linkedin" width="50px" height="50px"></a>
<a href="https://twitter.com/"><img src="img/twitter1.png" alt="twitter" width="50px" height="50px"></a>
</div>
<p class="end">CopyRight By Khatabook</p>
</footer>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://smtpjs.com/v3/smtp.js">
</script>
<script>
function sendmail(){
var name = $('#Name').val();
var email = $('#Sender').val();
var phone = $('#message').val();
var message = $('#Message').val();
var Body='Name: '+name+'<br>Email: '+email+'<br>Phone: '+phone+'<br>Message: '+message;
}
Email.send({
SecureToken :"37a6cc86-3844-4045-9b89-b1e7b949729a",
To : 'roshankr2460@gmail.com',
From : "roshankrn69@fmail.com",
Subject : "New Mail on Contact From:"+name,
Body : Body
}).then(
message =>{
if(message=='OK'){
alert('Your Mail has been send. Thank You For connecting');
}
else{
console.error(message);
alert('There is error at sending')
}
}
);
</script>
</html>