forked from abhrajit2004/Twitter-Landing-Page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
52 lines (49 loc) · 1.92 KB
/
profile.html
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>User Profile Page</title>
<link rel="stylesheet" href="styles.css">
</head>
<body class="light-mode">
<nav class="navbar">
<ul>
<li><a href="index.html" class="home-btn">Home</a></li>
<li>
<button id="themeToggle" class="theme-toggle-btn">🌙 </button>
</li>
</ul>
</nav>
<div class="profile-container">
<h1>User Profile</h1>
<div class="profile-card">
<form id="profileForm">
<div class="profile-pic-container">
<div class="profile-pic">
<img src="dp.jpg" alt="" id="profileImage">
<div class="hover-overlay">
<label for="profilePicInput">Change Picture</label>
</div>
</div>
<input type="file" id="profilePicInput" accept="image/*" onchange="loadProfileImage(event)" style="display:none;">
</div>
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" value="Abhrajit Gupta">
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" value="john.@abhrajit_gupta.com">
</div>
<div class="form-group">
<label for="bio">Bio:</label>
<textarea id="bio" rows="4">I am a web developer who loves to build amazing websites.</textarea>
</div>
<button type="submit" class="update-btn">Update Profile</button>
</form>
</div>
</div>
<script src="profile.js"></script>
</body>
</html>