-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
116 lines (105 loc) · 3.62 KB
/
index.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
<!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>Responsive Contact</title>
<!-- link for the bootstrap -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"
>
<!-- link for the AOS library -->
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet" >
<!-- link for the hover.css library -->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/hover.css/2.1.1/css/hover-min.css"
rel="stylesheet"
/>
<!-- link for the google font -->
<style>
@import url("https://fonts.googleapis.com/css2?family=Amiri&family=BIZ+UDMincho&family=Cairo:wght@300&family=Josefin+Sans:wght@200&family=Open+Sans:wght@300&family=Rakkas&family=Ramaraja&family=Righteous&family=Sansita+Swashed&display=swap");
</style>
<link rel="stylesheet" href="style.css" >
</head>
<body >
<!-- code for the AOS library -->
<div class="products">
<div class="cardz" data-aos="fade-right">fade right</div>
<div class="cardz" data-aos="fade-up">fade up</div>
<div class="cardz" data-aos="flip-up">flip up</div>
<div class="cardz" data-aos="zoom-in-down">zoom in down</div>
<div class="cardz" data-aos="zoom-out-up">zoom out up</div>
</div>
<div class="p">
<i class="bi bi-brightness-high-fill" id="toggleDark" onclick="DarkMode()"></i>
</div>
<section id="contactME" data-aos="fade-left" >
<h1>Contact Me</h1>
<form
action="https://formsubmit.co/[email protected]"
method="POST"
class="container"
>
<div class="field name-box">
<input
type="text"
name="Name"
id="name"
class="input"
placeholder="Who Are You?"
required
/>
<label class="test" for="name">Name</label>
</div>
<div class="field email-box">
<input
type="text"
id="email"
name="email"
class="input"
placeholder="[email protected]"
required
/>
<label class="test" for="email">Email</label>
</div>
<div class="field msg-box">
<input
type="text"
id="message"
name="msg"
class="input"
placeholder="Your message goes here..."
></input>
<label class="test" for="msg">Msg</label>
</div>
<input id="outhman" type="submit" value="Send" class="button hvr-bounce-out" />
</form>
</section>
<!-- link the javascript page -->
<script src="./script.js" ></script>
<!-- link the javascript of sweetalert2 library -->
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<!-- link the javascript of AOS library -->
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<!-- code of the sweetalert button -->
<script>
document.getElementById("outhman").addEventListener("click", function () {
Swal.fire({
text: "Come back soon",
title: "Thank u 4 ur feedback",
showConfirmButton: true,
confirmButtonColor: "#344e41",
color: "#53c78d",
imageUrl:
"https://i.pinimg.com/originals/10/14/fd/1014fdd78a67c7649ea06bd305539b5e.gif",
imageWidth: 400,
imageHeight: 200,
});
});
// linking the AOS fucntion
AOS.init();
</script>
</body>
</html>