Skip to content
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
103 changes: 87 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,89 @@
<!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" />
<title>Spotify Clone</title>
<link rel="stylesheet" href="styles/style.css" />
</head>
<body>

<nav class="navbar">
<div class="nav-container">
<img src="images/spotify-logo.png" alt="Spotify Logo" class="logo" />
<ul class="nav-links">
<li><a href="#">Premium</a></li>
<li><a href="#">Discover</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Download</a></li>
</ul>
</div>
</nav>

<header class="hero">
<div class="hero-content">
<h1>Music for everyone.</h1>
<p>Spotify is now free on mobile, tablet and computer.<br>Listen to the right music, wherever you are.</p>
</div>
</header>

<section class="features-section">
<div class="section-header">
<h2>What’s on Spotify?</h2>
<div class="underline-green"></div>
</div>

<div class="features-grid">
<div class="feature-item">
<img src="images/music-icon.png" alt="Millions of Songs" />
<h3 class="green-text">Millions of Songs</h3>
<p>There are millions of<br>songs on Spotify</p>
</div>
<div class="feature-item">
<img src="images/high-quality-icon.png" alt="HD Music" />
<h3 class="green-text">HD Music</h3>
<p>Listen to music as if you<br>were listening live</p>
</div>
<div class="feature-item">
<img src="images/devices-icon.png" alt="Stream Everywhere" />
<h3 class="green-text">Stream Everywhere</h3>
<p>Stream music on your<br>smartphone, tablet or<br>computer</p>
</div>
</div>
</section>

<section class="green-section">
<div class="green-container">

<div class="green-text-content">
<div class="green-header">
<h2>It’s as yeezy as Kanye West.</h2>
<div class="underline-white"></div>
</div>

<div class="text-block">
<h3>Search</h3>
<p>Know what you want to listen to?<br>Just search and hit play.</p>
</div>

<div class="text-block relative-block">
<h3>Browse</h3>
<p>Check out the latest charts,<br>brand new releases and great<br>playlists for right now.</p>
<img src="images/spotify-icon-white.png" alt="Spotify Icon" class="floating-logo" />
</div>

<div class="text-block">
<h3>Discover</h3>
<p>Enjoy new music every Monday<br>with your own personal playlist.<br>Or sit back and enjoy Radio.</p>
</div>
</div>

<div class="app-image-container">
<img src="images/spotify-app.jpg" alt="Spotify App" class="app-image" />
</div>

</div>
</section>

</body>
</html>
207 changes: 201 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,203 @@
/*
Colors:

Text: 1A1A1A
Green: #00B172
White: #FFF
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

*/
body {
font-family: Arial, Helvetica, sans-serif;
color: #1A1A1A;
line-height: 1.5;
}


.green-text {
color: #00B172;
}


.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: #fff;
z-index: 1000;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 40px;
max-width: 1200px;
margin: 0 auto;
}

.logo {
height: 45px;
}

.nav-links {
display: flex;
list-style: none;
}

.nav-links li {
margin-left: 30px;
}

.nav-links a {
text-decoration: none;
color: #1A1A1A;
font-size: 14px;
}

.nav-links a:hover {
color: #00B172;
}


.hero {
height: 100vh;
background-image: url('../images/landing.jpg');
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: #FFF;
margin-top: 75px;
}

.hero-content h1 {
font-size: 64px;
margin-bottom: 20px;
font-weight: bold;
}

.hero-content p {
font-size: 20px;
font-weight: 300;
}


.features-section {
padding: 80px 20px;
background-color: #FFF;
text-align: center;
max-width: 1000px;
margin: 0 auto;
}

.section-header h2 {
font-size: 32px;
margin-bottom: 10px;
}

.underline-green {
height: 3px;
width: 100px;
background-color: #00B172;
margin: 0 auto 50px auto;
}

.features-grid {
display: flex;
justify-content: space-between;
align-items: flex-start;
}

.feature-item {
flex: 1;
padding: 0 20px;
}

.feature-item img {
height: 80px;
margin-bottom: 20px;
}

.feature-item h3 {
font-size: 20px;
margin-bottom: 15px;
}

.feature-item p {
font-size: 16px;
color: #666;
}


.green-section {
background-color: #00B172;
color: #FFF;
padding: 80px 40px;
}

.green-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1000px;
margin: 0 auto;
}

.green-text-content {
flex: 1;
padding-right: 50px;
}

.green-header {
margin-bottom: 40px;
}

.green-header h2 {
font-size: 36px;
margin-bottom: 10px;
}

.underline-white {
height: 2px;
width: 250px;
background-color: #FFF;
}

.text-block {
margin-bottom: 30px;
}

.text-block h3 {
font-size: 22px;
margin-bottom: 5px;
}

.text-block p {
font-size: 16px;
font-weight: 300;
}

.relative-block {
position: relative;
}

.floating-logo {
position: absolute;
width: 100px;
right: 50px;
top: 10px;
}

.app-image-container {
flex: 1;
display: flex;
justify-content: center;
}

.app-image {
max-width: 300px;
width: 100%;
}