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
78 changes: 72 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,79 @@
<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>
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.
<nav>
<div class="nav-left">
<img src="./images/spotify-logo.png" 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>
<div class="music-for-everyone">
<h1>Music for everyone.</h1>
<p>
Spotify is now free on mobile, tablet and computer. Listen to the right
music, wherever you are.
</p>
</div>

<section class="whats-on-spotify">
<h2>What’s on Spotify?</h2>
<div class="features-container">
<article class="features">
<img src="./images/music-icon.png" />
<h2>Millions of Songs</h2>
<br />
<p>There are millions of songs on Spotify</p>
</article>

<article class="features">
<img src="./images/high-quality-icon.png" />
<h2>HD Music</h2>
<br />
<p>Listen to music as if you were listening live</p>
</article>

<article class="features">
<img src="./images/devices-icon.png" />
<h2>Stream Everywhere</h2>
<br />
<p>Stream music on your smartphone, tablet or computer</p>
</article>
</div>
</section>

<section class="yeezy">
<div class="content">
<h2>It's as yeezy as Kanye West.</h2>
<h3>Search</h3>
<p>Know what you want to listen to? Just search and hit play.</p>

<h3>Browse</h3>
<p>
Check out the latest charts, brand new releases and great playlists
for right now.
</p>

<h3>Discover</h3>
<p>
Enjoy new music every Monday with your own personal playlist. Or sit
back and enjoy Radio.
</p>
</div>

<img src="./images/spotify-icon-white.png" class="center-logo"/>
</div>

<div class="image">
<img src="./images/spotify-app.jpg" alt="Spotify App" />
</div>
</section>
</body>
</html>
165 changes: 165 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,168 @@ Green: #00B172
White: #FFF

*/
.nav-left {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
}
.logo {
width: 250px;
height: auto;
}

.nav-links {
display: flex;
list-style: none;
margin:0;
padding:0;
gap: 63px;
font-family: arial light, sans-serif;
font-weight: lighter;
font-size: 24px;
}

.nav-links a {
text-decoration: none;
color: #464646;
}

.music-for-everyone {
background-image: url(../images/landing.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height:90vh;
width: 100%;
align-items: center;
color: white;
position: relative;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: lighter;
}

h1 {
font-size: 100px;
margin-bottom: 20px;
}

.music-for-everyone h1{
font-weight: 600;
}

p {
font-size: 35px;
width: 50%;
margin-top: 0px;
}

.whats-on-spotify > h2 {
font-size: 43px;
font-family: Arial light, Helvetica, sans-serif;
text-align: center;
text-decoration: underline;
text-decoration-color: #00B172;
text-underline-offset: 15px;
margin-top: 60px;
margin-bottom: 80px;
letter-spacing:0.5px;

}

.features-container {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 130px;
padding: 40px 50px;
flex-wrap: wrap;
font-family: Arial, Helvetica, sans-serif;
}

.features {
display:flex;
flex-direction: column;
align-items: center;
text-align: center;
max-width: 350px;
}

.features img {
width: 150px;
height: auto;
margin-bottom: 10px;
}

.features h2 {
color:#00B172;
font-size: 32px;
margin-bottom: 5px;
letter-spacing:0.5px;

}
.features p {
color: #4b4b4b;
font-size: 28px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: lighter;
letter-spacing:0.5px;
line-height: 1.4;
width: 90%;
}

.yeezy {
background-color: #00B172;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 80px 100px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-weight: lighter;
position: relative;
}

.yeezy .content {
width: 50%;
}

.yeezy h2 {
font-size: 48px;
margin-bottom: 40px;
text-decoration: underline;
text-decoration-color:white;
text-underline-offset: 25px;
}
.yeezy h3 {
font-size: 32px;
margin-top: 20px;
margin-bottom: 10px;
}

.yeezy p {
font-size: 22px;
line-height: 1.5;
width: 80%;
}

.yeezy .image img {
width: 400px;
height: auto;
border-radius: 10px;
}

.center-logo {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
height: auto;
z-index: 10;
}