Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
95 lines (83 loc) · 2.37 KB
/
Copy pathindex.html
File metadata and controls
95 lines (83 loc) · 2.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Name - Portfolio</title>
<style>
body, html {
height: 100%;
margin: 0;
font-family: Arial, sans-serif;
line-height: 1.6;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
max-width: 800px; /* or any value you deem fit */
margin: 0 auto;
}
header {
background-color: #f4f4f4;
padding: 10px 0;
width: 100%;
text-align: center;
}
nav a {
margin: 0 15px;
text-decoration: none;
color: #333;
}
section {
margin: 20px 0;
text-align: center;
}
img.profile-pic {
width: 200px;
height: auto;
margin: 20px auto;
display: block;
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>Your Name</h1>
<nav>
<a href="#about">About</a>
<a href="#projects">Projects</a>
<a href="#contact">Contact</a>
</nav>
</header>
<section id="about">
<h2>About Me</h2>
<img src="profile_picture.jpg" alt="Your Name's Profile Picture" class="profile-pic">
<p>
A brief paragraph about yourself, your background, skills, and experience.
</p>
</section>
<section id="projects">
<h2>Projects</h2>
<ul>
<li><a href="#">Project 1</a>: Short description of the project.</li>
<li><a href="#">Project 2</a>: Short description of another project.</li>
<!-- Add more projects as list items -->
</ul>
</section>
<section id="contact">
<h2>Contact</h2>
<p>
How to reach you: Email, LinkedIn, GitHub, etc.
</p>
</section>
<footer>
<p>© 2023 by Your Name</p>
</footer>
</div>
</body>
</html>