Skip to content

Commit 236b7df

Browse files
bookmars and final english version
1 parent f896414 commit 236b7df

File tree

2 files changed

+29
-16
lines changed

2 files changed

+29
-16
lines changed

design 3/index.html

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
<div class="header-container">
2020
<h1>VIBRACODE</h1>
2121
<nav>
22-
<li><a class="active" href="#">HOME</a></li>
23-
<li><a href="#">ABOUT</a></li>
24-
<li><a href="#">SERVICES</a></li>
25-
<li><a href="#">PRODUCTS</a></li>
26-
<li><a href="#">CONTACT</a></li>
22+
<li><a class="active" href="#home">HOME</a></li>
23+
<li><a href="#about">ABOUT</a></li>
24+
<li><a href="#services">SERVICES</a></li>
25+
<li><a href="#projects">PROJECTS</a></li>
26+
<li><a href="#contact">CONTACT</a></li>
2727
</nav>
2828
</div>
2929
</header>
3030

3131
<main>
3232
<!-- showcase -->
3333

34-
<section class="showcase">
34+
<section id="home" class="showcase">
3535
<div class="showcase-content">
3636
<h2>Building Websites and Mobile Apps For Boosting Your Business</h2>
3737
<p>
@@ -44,7 +44,7 @@ <h2>Building Websites and Mobile Apps For Boosting Your Business</h2>
4444

4545
<!-- about -->
4646

47-
<section class="about">
47+
<section id="about" class="about">
4848
<h2 class="about-text">ABOUT US</h2>
4949
<div class="about-content">
5050
<div class="picture">
@@ -78,7 +78,7 @@ <h2>SPECIALIZED IN WEB DESIGN AND DEVELOPMENT</h2>
7878

7979
<!-- services -->
8080

81-
<section>
81+
<section id="services">
8282
<h2 class="services-header">SERVICES</h2>
8383
<div class="services">
8484
<div>
@@ -143,7 +143,7 @@ <h3>SEO Services</h3>
143143

144144
<!-- projects -->
145145

146-
<section>
146+
<section id="projects">
147147
<h2 class="projects-text">PROJECTS</h2>
148148
<div class="projects">
149149
<div>
@@ -179,12 +179,18 @@ <h3>Ticket booking</h3>
179179

180180
<footer>
181181
<!-- contact-->
182-
<div class="footer-contact">
182+
<div id="contact" class="footer-contact">
183183
<h2>CONTACT</h2>
184184
<form action="">
185185
<input type="email" placeholder="your email" />
186186
<input type="text" placeholder="subject" />
187-
<textarea name="" id="" cols="30" rows="7" placeholder="your message"></textarea>
187+
<textarea
188+
name=""
189+
id=""
190+
cols="30"
191+
rows="7"
192+
placeholder="your message"
193+
></textarea>
188194
<input type="submit" value="submit" />
189195
</form>
190196
</div>

design 3/styles.css

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@
44
margin: 0;
55
box-sizing: border-box;
66
font-family: "Poppins", sans-serif;
7+
scroll-behavior: smooth;
78
}
89

9-
/* header styles */
10-
10+
/* header styles */
11+
header{
12+
background-color: white;
13+
position: sticky;
14+
top: 0;
15+
z-index: 1;
16+
border-bottom: 1px solid rgb(177, 177, 177);
17+
}
1118
.header-container {
1219
display: flex;
1320
width: 75%;
@@ -223,7 +230,7 @@ footer {
223230
width: 40%;
224231
margin: auto;
225232
padding: 20px 40px;
226-
233+
227234
margin-bottom: 0;
228235
}
229236
.footer-contact input {
@@ -255,12 +262,12 @@ footer {
255262
margin: 10px;
256263
}
257264

258-
footer .downfooter{
265+
footer .downfooter {
259266
width: 100%;
260267
background-color: #d11414;
261268
height: 50px;
262269
}
263-
footer .downfooter p{
270+
footer .downfooter p {
264271
color: white;
265272
line-height: 50px;
266273
text-align: center;

0 commit comments

Comments
 (0)