Skip to content
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

PT_RMT_012025 Daniela Primacov & Daniel Fischer #3516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
93 changes: 77 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Spotify Clone</title>
<!-- don't forget to link your styles -->
</head>
<body>
Premium Discover Help Download Music for everyone. Spotify is now free on mobile, tablet and computer. Listen to the
right music, wherever you are. What’s on Spotify? Millions of Songs There are millions of songs on Spotify HD Music
Listen to music as if you were listening live Stream Everywhere Stream music on your smartphone, tablet or computer
It’s as yeezy as Kanye West. Search Know what you want to listen to? Just search and hit play. Browse Check out the
latest charts, brand new releases and great playlists for right now. Discover Enjoy new music every Monday with your
own personal playlist. Or sit back and enjoy Radio.
</body>
</html>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Spotify Clone</title>
<!-- don't forget to link your styles -->
<link rel="stylesheet" href="./styles/style.css">
</head>

<body>

<header>
<div class="navbar">
<img class="logo-icon" src="./images/spotify-logo.png" alt="Spotify Logo">
<ul class="menu-links">
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</div>
<div class="landing">
<img class="landing-img" src="./images/landing.jpg" alt="Landing Image">
<div class="container">
<h1 class="main-title">Music for everyone.</h1>
<p class="description">Spotify is now free on mobile, tablet and computer. Listen to the
right music, wherever you are.</p>
</div>
</div>
</header>

<section class="spotify-info">
<h2>What’s on Spotify?</h2>
<div class="box-container">
<div class="boxes">
<img src="./images/music-icon.png" alt="music-icon">
<h4>Millions of Songs</h4>
<p>There are millions of <br> songs on Spotify</p>
</div>
<div class="boxes">
<img src="./images/high-quality-icon.png" alt="high-quality-icon">
<h4>HD Music</h4>
<p>Listen to music as if you <br> were listening live</p>
</div>
<div class="boxes">
<img src="./images/devices-icon.png" alt="devices">
<h4>Stream Everywhere</h4>
<p>Stream music on your <br> smartphone, tablet or <br> computer</p>
</div>
</div>
</section>
<footer>
<div class="articles">
<h3>It’s as yeezy as Kanye West.</h3>
<article>
<h4 class="article-title">Search</h4>
<p>Know what you want to listen to? <br> Just search and hit play.</p>
</article>
<article>
<h4 class="article-title">Browse</h4>
<p>Check out the
latest charts, <br> brand new releases and great <br> playlists for right now.</p>
</article>
<article>
<h4 class="article-title">Discover</h4>
<p>Enjoy new music every Monday <br> with your
own personal playlist.<br> Or sit back and enjoy Radio.</p>
</article>
</div>
<img class="spotify-icon-white" src="./images/spotify-icon-white.png" alt="Spotify Icon">
<img class="spotify-app" src="./images/spotify-app.jpg" alt="Spotify App">
</footer>

</body>

</html>
166 changes: 166 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,169 @@ Green: #00B172
White: #FFF

*/
* {
font-family: Helvetica, sans-serif;
margin: 0;
}

.navbar {
position: fixed;
top: 0;
left: 0;
width: 95%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 40px;
background-color: rgba(255, 255, 255);
z-index: 1000;
}

.logo-icon {
display: flex;
justify-content: flex-start;
align-items: center;
height: 40px;
}

.menu-links {
display: flex;
justify-content: flex-end;
gap: 20px;
}

.menu-links > li {
list-style: none;
font-size: 16px;
}

.landing {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.landing {
position: relative;
color: white;
text-align: center;
}

.landing-img {
width: 100%;
height: auto;
margin: 0 auto;
}

.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.main-title {
width: 800px;
font-size: 5em;
font-weight: 200;
margin-bottom: 40px;
}

.description {
font-size: 2em;
}

.boxes img {
width: 100px;
}

.spotify-info {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
padding: 40px 0;
}

.spotify-info h2 {
border-bottom: 3px solid #00b172;
padding: 5px;
margin-bottom: 20px;
font-size: 1.8em;
}

.box-container {
width: 90%;
height: 300px;
display: flex;
justify-content: space-between;
}

.boxes {
width: 33%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: #1a1a1a;
}

.boxes h4 {
color: #00b172;
font-size: 1.5em;
line-height: 3em;
}

.boxes p {
font-size: 1.2em;
}

footer {
background-color: #00b172;
display: flex;
justify-content: space-between;
align-items: center;
gap: 100px;
color: white;
padding: 60px 60px;
border-left: 30px solid white;
border-right: 30px solid white;
}

footer .articles {
flex: 1;
margin-left: 70px;
}

.articles h3 {
text-decoration: underline;
text-underline-offset: 0.5em;
font-size: 1.8em;
margin-bottom: 60px;
width: 400px;
}

article p {
font-size: 1.2em;
margin-bottom: 30px;
line-height: 1.3em;
}

.article-title {
font-size: 1.5em;
margin-bottom: 40px;
}

.spotify-icon-white {
height: 100px;
display: flex;
align-self: center;
}

.spotify-app {
height: 500px;
margin-right: 50px;
margin-left: 120px;
}