-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (75 loc) · 2.8 KB
/
index.html
File metadata and controls
82 lines (75 loc) · 2.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Diwas | Portfolio</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Horizontally scrollable nav -->
<nav class="scroll-header">
<div class="logo">Diwas</div>
<div class="horizontal-scroll">
<ul>
<li><a href="#home" class="active">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#projects">Projects</a></li>
<li><a href="#contact">Contact</a></li>
<!-- Add more items to demonstrate scrolling -->
<li><a href="#test1">Test1</a></li>
<li><a href="#test2">Test2</a></li>
<li><a href="#test3">Test3</a></li>
<li><a href="#test4">Test4</a></li>
</ul>
</div>
</nav>
<!-- Scrollable Tech Tags Section (unchanged) -->
<div class="scrollable-top">
<div class="scroll-item">Home</div>
<div class="scroll-item">About</div>
<div class="scroll-item">Projects</div>
<div class="scroll-item">Contact</div>
</div>
<section id="home" class="hero">
<h1>Hi, I’m Diwas 👋</h1>
<p>Student • Developer • Dreamer</p>
<a href="#projects" class="btn">See My Work</a>
</section>
<section id="about">
<h2>About Me</h2>
<p>
I’m a student passionate about coding, design, and creating beautiful, functional web experiences.
</p>
</section>
<section id="projects">
<h2>Projects</h2>
<div class="project-list">
<div class="project-card">
<h3>Project One</h3>
<p>A description of your first project goes here.</p>
</div>
<div class="project-card">
<h3>Project Two</h3>
<p>A description of your second project goes here.</p>
</div>
</div>
</section>
<section id="contact">
<h2>Contact</h2>
<form>
<input type="text" placeholder="Your Name" required />
<input type="email" placeholder="Your Email" required />
<textarea placeholder="Your Message" rows="5" required></textarea>
<button type="submit" class="btn">Send Message</button>
</form>
</section>
<footer>
<p>© 2025 Diwas. All rights reserved.</p>
</footer>
<script src="script.js" defer></script>
</body>
</html>