-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit-profile.html
More file actions
56 lines (54 loc) · 2.49 KB
/
Copy pathedit-profile.html
File metadata and controls
56 lines (54 loc) · 2.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EduSphere - Edit Profile</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="dashboard">
<aside class="sidebar" id="sidebar"></aside>
<main class="main-content">
<div class="page-header">
<h2>Edit Profile</h2>
<p>Update your personal information</p>
</div>
<div class="edit-profile-card">
<div class="edit-avatar-section">
<div class="edit-avatar" id="avatarPreview">👤</div>
<input type="file" id="avatarInput" accept="image/*" style="display:none">
<button class="btn-outline" onclick="document.getElementById('avatarInput').click()">Change Photo</button>
</div>
<div class="edit-form">
<div class="input-group">
<label>Full Name</label>
<input type="text" id="edit-name" placeholder="Your full name">
</div>
<div class="input-group">
<label>Bio</label>
<input type="text" id="edit-bio" placeholder="Tell something about yourself">
</div>
<div class="input-group">
<label>Skills</label>
<input type="text" id="edit-skills" placeholder="e.g. Python, Web Dev, DSA">
</div>
<div class="input-group">
<label>Institution</label>
<input type="text" id="edit-institution" placeholder="Your college or university">
</div>
<div class="input-group">
<label>Previous Institution</label>
<input type="text" id="edit-prev-institution" placeholder="Previous college (if any)">
</div>
<button class="btn-primary btn-full" onclick="saveProfile()">Save Changes</button>
<button class="btn-outline btn-full" style="margin-top:8px" onclick="window.location.href='profile.html'">Cancel</button>
</div>
</div>
</main>
</div>
<script src="sidebar.js"></script>
<script src="dashboard.js"></script>
<script src="edit-profile.js"></script>
</body>
</html>