-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
139 lines (134 loc) · 5.83 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!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>Sahara Desert</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="shortcut icon" href="images/pic-3.png" type="image/x-icon">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css"
/>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
<div class="container">
<div class="navbar">
<img src="images/logo.png" class="logo">
<nav>
<ul>
<li id="HOME"><a href="">HOME</a></li>
<li id="REGION"><a href="">REGION</a>
<li id="ABOUT"><a href="">ABOUT</a>
</ul>
</nav>
<img src="images/menu.png" class="menu">
</div>
<div class="row">
<div class="col">
<h1>SAHARA</h1>
<p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab quo impedit mollitia amet repellendus officiis sed corporis similique! Nisi, reprehenderit. Quas assumenda voluptatum nisi voluptate aspernatur a corrupti, illo odio? Assumenda nam earum eaque asperiores magni fuga ut dicta dolorum animi quam nobis non minima reprehenderit fugit, necessitatibus reiciendis labore id, sequi eligendi, dolor accusantium perferendis explicabo odit! Asperiores error vitae dignissimos id laborum commodi blanditiis enim voluptatum autem porro?welcome to sahara tourism a place which give you chance to visit world,we are providing you very cheap and lifetime remembering memory</p>
<button id="explore">explore</button>
</div>
<div class="col">
<div class="card card1">
<h5>Western desert</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Neque dolorum voluptatibus magni ex molestias, animi, perspiciatis cumque iusto quaerat, harum quibusdam! Minus alias fuga aliquam explicabo delectus assumenda a odit!</p>
</div>
<div class="card card2">
<h5>AI bagawat</h5>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloremque quas enim fugit ex dicta aliquam, dolore distinctio iusto dolor? Sint illo iste quis a unde laboriosam sequi distinctio soluta nostrum?</p>
</div>
<div class="card card3">
<h5>pyramind of gizza</h5>
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Facere repudiandae asperiores tenetur fuga vitae eum ad, voluptatibus adipisci nulla iure doloribus illo illum architecto debitis. Quaerat, aliquam? Ad, eos culpa.
</p>
</div>
<div class="card card4">
<h5>kalhari desert</h5>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Minus perferendis facilis iure reiciendis quod nobis dicta nam accusamus impedit vitae eligendi provident, dolor sit, nemo, non nihil deleniti? Fuga, repellat.</p>
</div>
</div>
</div>
<div class="fabs" onclick="toggleBtn()">
<div class="action">
<i class="fas fa-plus" id="add"></i>
<i class="fas fa-times" id="remove" style="display: none"></i>
</div>
<div class="btns">
<a href=https://www.facebook.com/ target="_blank" class="btn" style="background: #3b5999"
><i class="fab fa-facebook-f"></i
></a>
<a href=https://twitter.com/i/flow/login target="_blank" class="btn" style="background: #55acee"
><i class="fab fa-twitter"></i
></a>
<a href="https://www.whatsapp.com/" target="_blank" class="btn" style="background: #25D366"
><i class="fab fa-whatsapp"></i
></a>
<a href="https://www.instagram.com/" target="_blank" class="btn" style="background:#e4405f"
><i class="fab fa-instagram"></i
></a>
</div>
</div>
</body>
<script>
function toggleBtn() {
const Btns = document.querySelector(".btns");
const add = document.getElementById("add");
const remove = document.getElementById("remove");
const btn = document.querySelector(".btns").querySelectorAll("a");
Btns.classList.toggle("open");
if (Btns.classList.contains("open")) {
remove.style.display = "block";
add.style.display = "none";
btn.forEach((e, i) => {
setTimeout(() => {
bottom = 40 *i;
e.style.bottom = bottom + "px";
// console.log(e);
}, 100 * i);
});
} else {
add.style.display = "block";
remove.style.display = "none";
btn.forEach((e, i) => {
e.style.bottom = "0px";
});
}
}
$(document).ready(function() {
$("#HOME").click(function() {
alert("You are already on home page");
});
});
$(document).ready(function() {
$("#ABOUT").click(function() {
});
});
$(document).ready(function() {
$("#explore").click(function() {
let a=prompt("Enter a place where you want to visit")
});
});
$(document).ready(function() {
$("#REGION").click(function() {
alert("You clicked on region");
});
});
$(document).ready(function() {
$(".menu").click(function() {
});
});
$(document).ready(function() {
$(".logo").click(function() {
alert("You clicked on logo");
});
});
</script>
</div>
</body>
</html>