-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.html
More file actions
52 lines (46 loc) · 1.29 KB
/
sample.html
File metadata and controls
52 lines (46 loc) · 1.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Portfolio</title>
<link rel="stylesheet" href="sample.css" />
</head>
<body>
<header>
<h1>My Portfolio</h1>
<p>Web Developer | JavaScript Enthusiast</p>
</header>
<nav>
<a href="#about">About</a>
<a href="#projects">Projects</a>
<a href="#contact">Contact</a>
</nav>
<section id="about">
<h2>About Me</h2>
<p>Hello! I'm a passionate web developer who loves building beautiful and functional websites.</p>
</section>
<section id="projects">
<h2>Projects</h2>
<div class="projects">
<div class="card">
<h3>To-Do App</h3>
<p>A simple to-do list built with HTML, CSS, and JavaScript.</p>
</div>
<div class="card">
<h3>Weather App</h3>
<p>Fetches real-time weather data using OpenWeatherMap API.</p>
</div>
</div>
</section>
<section id="contact">
<h2>Contact Me</h2>
<p>Email: yourname@example.com</p>
<p>GitHub: <a href="https://github.com/yourusername" target="_blank">@yourusername</a></p>
</section>
<footer>
<p>© 2025 My Portfolio. All rights reserved.</p>
</footer>
<script src="sample.js"></script>
</body>
</html>