-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathperpro.html
More file actions
213 lines (187 loc) · 4.98 KB
/
Copy pathperpro.html
File metadata and controls
213 lines (187 loc) · 4.98 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<!DOCTYPE html><html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Personal Profile</title> <!-- Google Font (optional but allowed) --> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet"> <style>
/* ===== Global Styles ===== */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Poppins', sans-serif;
line-height: 1.6;
background-color: #f4f6f8;
color: #333;
}
section {
padding: 40px 20px;
}
/* ===== Header Section ===== */
header {
background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d');
background-size: cover;
background-position: center;
color: #fff;
text-align: center;
padding: 60px 20px;
}
header h1 {
font-size: 2.5rem;
font-weight: 600;
text-transform: uppercase;
display: block; /* display property */
}
header p {
font-size: 1.2rem;
font-weight: 300;
display: inline-block; /* display property */
margin-top: 10px;
}
/* ===== Profile Section (Flexbox) ===== */
.profile {
display: flex;
justify-content: center;
align-items: center;
gap: 30px;
max-width: 1000px;
margin: auto;
}
.profile img {
width: 200px;
height: 200px;
border-radius: 50%;
object-fit: cover;
display: block;
}
.bio {
max-width: 600px;
}
.bio p {
font-size: 1rem;
text-align: justify;
}
/* ===== Skills Section (Grid) ===== */
.skills {
background-color: #ffffff;
}
.skills h2 {
text-align: center;
margin-bottom: 30px;
text-transform: uppercase;
font-size: 1.8rem;
}
.skills-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
max-width: 1000px;
margin: auto;
}
.skill-card {
background-color: #e3f2fd;
padding: 20px;
text-align: center;
font-weight: 500;
border-radius: 8px;
}
/* ===== Contact Section ===== */
.contact h2 {
text-align: center;
margin-bottom: 20px;
text-transform: uppercase;
}
form {
max-width: 600px;
margin: auto;
background-color: #ffffff;
padding: 30px;
border-radius: 8px;
}
label {
display: block; /* display property */
margin-bottom: 5px;
font-weight: 500;
}
input, textarea {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
font-family: inherit;
}
button {
background-color: #1976d2;
color: #fff;
border: none;
padding: 10px 20px;
font-size: 1rem;
cursor: pointer;
display: inline; /* display property */
}
/* ===== Footer ===== */
footer {
background-color: #222;
color: #fff;
text-align: center;
padding: 20px;
font-size: 0.9rem;
}
/* ===== Responsive Design ===== */
@media (max-width: 768px) {
.profile {
flex-direction: column;
text-align: center;
}
.skills-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
header h1 {
font-size: 1.8rem;
}
.skills-grid {
grid-template-columns: 1fr;
}
}
</style></head>
<body> <!-- Header --> <header>
<h1>Aysha Yimam</h1>
<p>Eletrical Engineering Student</p>
</header> <!-- Profile Section --> <section>
<div class="profile">
<img src="https://i.supaimg.com/91904e49-dd7f-4c12-849c-b291d6448e73.jpg" alt="My Profile Image">
<div class="bio">
<p>
Hello! I am a passionate student interested in technology and problem-solving.
I enjoy learning web development and building simple, clean, and responsive
websites using HTML and CSS.
</p>
</div>
</div>
</section> <!-- Skills Section --> <section class="skills">
<h2>Skills</h2>
<div class="skills-grid">
<div class="skill-card">HTML</div>
<div class="skill-card">CSS</div>
<div class="skill-card">Problem Solving</div>
<div class="skill-card">Teamwork</div>
</div>
</section> <!-- Contact Section --> <section class="contact">
<h2>Contact Me</h2>
<form>
<label for="name">Name</label>
<input type="text" id="name" placeholder="Your name"><label for="email">Email</label>
<input type="email" id="email" placeholder="Your email">
<label for="message">Message</label>
<textarea id="message" rows="4" placeholder="Your message"></textarea>
<button type="submit">Send Message</button>
</form>
</section> <!-- Footer --> <footer>
<p>Aysha Yimam © 2025</p>
</footer></body>
</html>