-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (50 loc) · 2.66 KB
/
index.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
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Spotify Profile</title>
<!-- Custom Script -->
<script src="src/script.js" type="module"></script>
</head>
<body>
<!-- Navigation Bar -->
<div id="navbar" style="background-color: #333; padding: 10px 20px;">
<a href="#" style="color: white; text-decoration: none; font-size: 18px;">Spotify Profile</a>
<div style="float: right;">
<a href="#" style="color: white; text-decoration: none; margin-left: 20px;">Home</a>
<a href="#" style="color: white; text-decoration: none; margin-left: 20px;">Profile</a>
<a href="#" style="color: white; text-decoration: none; margin-left: 20px;">Saved Tracks</a>
</div>
</div>
<!-- Main Container -->
<div class="container mt-4">
<!-- Profile Section -->
<div style="border: 1px solid #ddd; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);">
<h2>Logged in as <span id="displayName"></span></h2>
<img id="avatar" style="border-radius: 50%; margin-top: 15px;" width="100" height="100" alt="Profile Image">
<ul style="list-style-type: none; padding: 0;">
<li><strong>User ID:</strong> <span id="id"></span></li>
<li><strong>Email:</strong> <span id="email"></span></li>
<li><strong>Spotify URI:</strong> <a id="uri" href="#"></a></li>
<li><strong>Profile Link:</strong> <a id="url" href="#"></a></li>
<li><strong>Profile Image:</strong> <span id="imgUrl"></span></li>
</ul>
</div>
<div style="margin-top: 30px; border: 1px solid #ddd; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);">
<h3>Enter your BPM Range</h3>
<div style="display: flex; gap: 10px;">
<input type="number" id="num1" style="padding: 8px; width: 45%;" placeholder="Enter lower bound">
<input type="number" id="num2" style="padding: 8px; width: 45%;" placeholder="Enter upper bound">
<button style="padding: 8px 20px; background-color: #007bff; color: white; border: none; border-radius: 4px;" id="makePlaylistBtn">Run</button>
</div>
<p id="result"></p>
</div>
<!-- Saved Tracks Section -->
<div style="margin-top: 50px;">
<h2>Your Saved Tracks</h2>
<ul id="tracksList" style="list-style-type: none; padding: 0;"></ul>
<p style="margin-top: 20px;">We love <a href="https://getsongbpm.com" target="_blank">getsongbpm.com</a>! 🎵</p>
</div>
</div>
</body>
</html>