Skip to content

added minor style enhancements and logo #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added get_user_profile/Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 48 additions & 7 deletions get_user_profile/index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,61 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>Example</title>
<title>Display Your Spotify Profile Data</title>
<!-- Include your TypeScript file -->
<script src="src/script.ts" type="module"></script>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 20px;
background-color: #f0f0f0;
}
header {
text-align: center;
margin-bottom: 20px;
}
#profile {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 600px;
margin: 0 auto;
}
h1, h2 {
color: #333;
}
img {
display: block;
margin: 0 auto 20px;
border-radius: 50%;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
ul {
list-style-type: none;
padding: 0;
}
ul li {
margin-bottom: 10px;
}
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>
</head>

<body>
<h1>Display your Spotify Profile Data</h1>
<header>
<h1>Display Your Spotify Profile Data</h1>
</header>

<section id="profile">
<h2>Logged in as <span id="displayName"></span></h2>
<img id="avatar" width="200" src="#" />
<img id="avatar" width="200" src="Logo.png" alt="Avatar Image" />
<ul>
<li>User ID: <span id="id"></span></li>
<li>Email: <span id="email"></span></li>
@@ -21,7 +64,5 @@ <h2>Logged in as <span id="displayName"></span></h2>
<li>Profile Image: <span id="imgUrl"></span></li>
</ul>
</section>

</body>

</html>