-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.php
More file actions
58 lines (50 loc) · 2.14 KB
/
Copy pathcontact.php
File metadata and controls
58 lines (50 loc) · 2.14 KB
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
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body style="background: #000;">
<div class="section-header">
<h2>Contact Us</h2>
<p>Text messaging, or texting, is the act of composing and sending electronic messages, typically consisting of alphabetic and <br>numeric characters, between two or.</p>
</div>
<div class="w3-cell-row" style="width:75%">
<div class="w3-container w3-cell">
<div class="conForm">
<div id="message"></div>
<form method="POST" action="" name="me" onsubmit = "return contactvalidation()">
<input name="uname" id="uname" type="text" placeholder="Your name..." size="70"><br>
<input name="topic" id="email" type="topic" placeholder="Topic of Message..." size="70"><br>
<textarea name="comments" id="comments" placeholder="Message..." rows="10" cols="70"></textarea><br>
<input type="submit" id="submit" name="send" class="submitBnt" value="Send"><br>
</form>
</div>
</div>
<div class="w3-container w3-cell">
<h3 style="margin-top:0;color:#fff;">Our Address</h3>
<address style="color:#fff;">
<strong>Roy Event Management Services</strong><br>
1234 LamaBazar.<br>
Sylhet, Syl<br>
Bangladesh<br>
<abbr title="Phone">Tel:</abbr> (+880) 1564-128374
</address>
</div>
</div>
<script>
function contactvalidation(){
var comments=document.me.comments.value;
var topic=document.me.topic.value;
var uname=document.me.uname.value;
if(topic == "" || uname == "" || comments == ""){
alert("Type SomeThing");
return false;
}else
alert("Message Send! Thanks for your feedback..");
}
</script>
</body>
</html>