Skip to content

Commit 4e2c1ec

Browse files
committed
added seperate page for contact me
1 parent 5e498f6 commit 4e2c1ec

File tree

3 files changed

+58
-24
lines changed

3 files changed

+58
-24
lines changed

contact-me.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Sumana-Portfolio</title>
7+
<link rel="stylesheet" href="style.css">
8+
</head>
9+
<body>
10+
<header class="header">
11+
<a href="#" class="logo">A.Sumana Sree</a>
12+
<nav class="navbar">
13+
<a href="index.html" class="active">Home</a>
14+
<a href="index.html#education">Education</a>
15+
<a href="#">Experience</a>
16+
<a href="projects.html">Projects</a>
17+
</nav>
18+
<a href="contact-me.html" class="contact">Contact Me</a>
19+
</header>
20+
21+
<section id="contact-me" class="contact-form">
22+
<div class="contact-box">
23+
<h2 class="contact-me">Send me a message here...</h2>
24+
<form action="#" >
25+
<div class="input-box">
26+
<input type="text" placeholder="First name">
27+
<input type="text" placeholder="Last name">
28+
</div>
29+
<div class="input-box">
30+
<input type="number" placeholder="Phone Number">
31+
<input type="email" placeholder="email">
32+
</div>
33+
<textarea name="" id="" cols="30" rows="1" placeholder="Subject"></textarea>
34+
<textarea name="" id="" cols="30" rows="5" placeholder="Your Message"></textarea>
35+
<input type="submit" value="Send Message" class="btn-1">
36+
</form>
37+
</div>
38+
</section>
39+
40+
</body>
41+
</html>

index.html

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<a href="#">Experience</a>
1818
<a href="projects.html">Projects</a>
1919
</nav>
20-
<a href="#contact-me" class="contact">Contact Me</a>
20+
<a href="contact-me.html" class="contact">Contact Me</a>
2121
</header>
2222

2323
<section class="home">
@@ -52,24 +52,8 @@ <h2 class="heading">Education</h2>
5252
</div>
5353
</section>
5454

55-
<section id="contact-me" class="contact-form">
56-
<div class="contact-box">
57-
<h2 class="contact-me">Contact <span>Me</span></h2>
58-
<form action="#">
59-
<div class="input-box">
60-
<input type="text" placeholder="Name">
61-
<input type="email" placeholder="Email">
62-
</div>
63-
64-
<div class="input-box">
65-
<input type="number" placeholder="Phone Number">
66-
<input type="text" placeholder="Subject">
67-
</div>
68-
69-
<textarea name="" id="" cols="30" rows="5" placeholder="Your Message"></textarea>
70-
<input type="submit" value="Send Message" class="btn-1">
71-
</form>
72-
</div>
55+
<section id="skills" class="skills">
56+
7357
</section>
7458

7559
<footer class="footer">
@@ -82,7 +66,7 @@ <h2 class="contact-me">Contact <span>Me</span></h2>
8266
<a href="https://x.com/sumana_2705"><i class='bx bxl-twitter' ></i></a>
8367
<a href="mailto:sumanasree2705@gmail.com"><i class='bx bxl-gmail' ></i></a>
8468
</div>
85-
69+
</footer>
8670

8771

8872
</body>

style.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,25 +246,34 @@ span{
246246

247247
.contact-box{
248248
justify-content: center;
249-
margin: 0%;
249+
margin: 0;
250250
align-items: center;
251251
background-color: whitesmoke;
252252
}
253253
.contact-form{
254254
height: 100vh;
255+
margin: 0;
256+
background-color: whitesmoke;
255257
}
256258
.contact-form h2{
257259
text-align: center;
258260
font-size: 36px;
259-
padding-top: 0.8em;
261+
padding-top: 9rem;
262+
padding-bottom: 2rem;
260263
}
261264
.contact-form form{
262265
max-width: 50em;
263-
margin: 1rem auto;
266+
margin: auto;
264267
text-align: center;
265-
padding-bottom: 1em;
268+
padding-bottom: 0em;
266269
background: whitesmoke;
267270
}
271+
272+
.input-box{
273+
display: flex;
274+
gap: 5rem;
275+
}
276+
268277
.contact-form form .input-box input,
269278
.contact-form form textarea{
270279
width: 100%;

0 commit comments

Comments
 (0)