-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
160 lines (153 loc) · 5.37 KB
/
Copy pathindex.html
File metadata and controls
160 lines (153 loc) · 5.37 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Website</title>
<script
src="https://kit.fontawesome.com/f6816dd194.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- navbar -->
<navbar id="nav" class="nav">
<div class="logo-container">
<img src="./img/logo.png" alt="logo" />
</div>
<div class="menu">
<button class="btn" id="btn" onclick="expand();">
<i id="icon" class="fas fa-bars fa-2x"></i>
</button>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
</navbar>
<!-- navbar end -->
<!-- main section -->
<section class="main" id="main">
<div class="left">
<p class="heading">We Are building software to help</p>
<button class="btn2">Contact Now</button>
</div>
<div class="right">
<img src="./img/mainimg.png" alt="" />
</div>
</section>
<!-- main section end-->
<!-- about section -->
<section class="about">
<p>About Us</p>
<div class="card-container">
<div class="card">
<h1 class="cardheading">WEB DESIGN & BRAND IDENTITY</h1>
<h3 class="cardtext">
You understand your customers better than anyone. We know that, and
we can help you turn that knowledge into results. We’ll help you
refine an online brand experience that showcases the power of your
business.
</h3>
</div>
<div class="card">
<h1 class="cardheading">DIGITAL MARKETING</h1>
<h3 class="cardtext">
A one-size-fits-all approach is the wrong approach. We’ll leverage
our marketing-savvy skills to provide you with a winning strategy.
Do you want to scale up your business? Need more leads and more
customers? We can help with that.
</h3>
</div>
<div class="card">
<h1 class="cardheading">WEBSITE & APP DEVELOPMENT</h1>
<h3 class="cardtext">
We’re a different kind of web agency. We offer a team of veteran
developers, technical experts, and strategists who know the right
questions to ask to get you on track with the right features, the
perfect platform and the capacity to scale up your business.
</h3>
</div>
</div>
</section>
<!-- about section end-->
<!-- main section2 -->
<section class="main2">
<div class="left">
<img src="./img/main2.jpg" alt="" />
</div>
<div class="right">
<p class="main2Heading">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Deleniti,
cupiditate corporis id minus, quae optio ipsa deserunt, corrupti
possimus quis facere rerum! Cumque praesentium voluptatibus ex dolor
suscipit optio, quis cupiditate quas magnam non dicta beatae expedita
nesciunt, asperiores temporibus at esse. Dolores voluptate
necessitatibus blanditiis consequuntur id nihil quia.
</p>
</div>
</section>
<!-- main section2 end-->
<!-- slider -->
<section class="slider">
<p class="sliderHeading">Our Team Member</p>
<div class="slider-card-container">
<div class="slider-card">
<img src="./img/user.png" alt="">
<h1 class="cardheading">Jonh</h1>
</div>
<div class="slider-card">
<img src="./img/user.png" alt="">
<h1 class="cardheading">William</h1>
</div>
<div class="slider-card">
<img src="./img/user.png" alt="">
<h1 class="cardheading">Harper</h1>
</div>
<div class="slider-card">
<img src="./img/user.png" alt="">
<h1 class="cardheading">Jackson</h1>
</div>
<div class="slider-card">
<img src="./img/user.png" alt="">
<h1 class="cardheading">Ella</h1>
</div>
<div class="slider-card">
<img src="./img/user.png" alt="">
<h1 class="cardheading">Avery</h1>
</div>
</div>
</section>
<!-- slider end-->
<!-- contact -->
<div class="contact-container">
<input type="text" name="email" placeholder="Enter Email....">
<input type="password" name="password" placeholder="Enter Password....">
<textarea name="" cols="100" rows="8"></textarea>
<button class="submit-btn">Submit</button>
</div>
<!-- contact end-->
<div class="blankDiv"></div>
<script>
const nav = document.getElementById("nav");
const main = document.getElementById("main");
const icon = document.getElementById("icon");
const expand = (e) => {
nav.classList.toggle("active");
main.classList.toggle("activeMain");
console.log(main.style.top);
console.log(main.style.top);
if (icon.classList.contains("fa-bars")) {
icon.classList.remove("fa-bars");
icon.classList.add("fa-times");
} else {
icon.classList.remove("fa-times");
icon.classList.add("fa-bars");
}
};
</script>
</body>
</html>