-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path<>index.html
More file actions
96 lines (85 loc) · 3.18 KB
/
<>index.html
File metadata and controls
96 lines (85 loc) · 3.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DevPort | Portfolio</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav class="navbar">
<a href="#home" class="nav-logo">DevPort</a>
<ul class="nav-menu">
<li><a href="#home" class="nav-link">Home</a></li>
<li><a href="#about" class="nav-link">About</a></li>
<li><a href="#projects" class="nav-link">Projects</a></li>
<li><a href="#contact" class="nav-link">Contact</a></li>
</ul>
<button class="nav-toggle" aria-label="Open Menu">☰</button>
</nav>
</header>
<main>
<section id="home" class="section home-section">
<div class="home-content">
<h1>Hello, I'm <span class="highlight">Rimjhim Dwivedi</span></h1>
<p>Welcome to my developer portfolio. I'm passionate about building clean and responsive websites.</p>
<a href="resume.pdf" class="btn" download>Download Resume</a>
</div>
</section>
<section id="about" class="section about-section">
<h2>About Me</h2>
<p>
I'm a beginner frontend developer learning to build beautiful, functional web apps with HTML and CSS. I enjoy solving problems and creating visually appealing layouts.
</p>
</section>
<section id="projects" class="section projects-section">
<h2>Projects</h2>
<div class="projects-grid">
<div class="project-card">
<h3>Project One</h3>
<p>A simple landing page built with HTML and CSS, featuring responsive design and smooth transitions.</p>
</div>
<div class="project-card">
<h3>Project Two</h3>
<p>A portfolio website template for developers, showcasing projects and skills.</p>
</div>
<div class="project-card">
<h3>Project Three</h3>
<p>A contact form layout with validation and mobile-first design principles.</p>
</div>
</div>
</section>
<section id="contact" class="section contact-section">
<h2>Contact</h2>
<form class="contact-form">
<input type="text" placeholder="Your Name" required>
<input type="email" placeholder="Your Email" required>
<textarea rows="4" placeholder="Your Message" required></textarea>
<button type="submit" class="btn">Send Message</button>
</form>
</section>
</main>
<footer>
<p>© 2025 DevPort. Designed by rimdwivedi.</p>
</footer>
<script>
// Mobile nav toggle
const navToggle = document.querySelector('.nav-toggle');
const navMenu = document.querySelector('.nav-menu');
navToggle.addEventListener('click', () => {
navMenu.classList.toggle('nav-menu-active');
});
// Smooth scroll for nav links
document.querySelectorAll('.nav-link').forEach(link => {
link.addEventListener('click', function(e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
navMenu.classList.remove('nav-menu-active');
});
});
</script>
</body>
</html>