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
102 changes: 86 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,88 @@
<!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>
<nav class="nav-bar">
<img src="./images/spotify-logo.png" alt="">
<ul class="nav-bar-ul">
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>


</nav>

<section class="title">
<h1 class="music">Music for everyone.</h1>

<h2 class="quote">Spotify is now free on mobile, tablet and computer. Listen to the
right music, wherever you are.</h2>
</section>

<section>
<h3 class="whatOnSpotify">What’s on Spotify?</h3>
<hr>
</section>

<section class="articles-container">
<article class="article">
<img src="images/music-icon.png" alt="Speaker" class="icon">
<h3 class="subtitles">Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</article>

<article class="article">
<img src="images/high-quality-icon.png" alt="Sound Wave" class="icon">
<h3 class="subtitles">HD Music</h3>
<p>Listen to music as if you were listening live</p>
</article>

<article class="article">
<img src="images/devices-icon.png" alt="Devices" class="icon">
<h3 class="subtitles">Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>

</article>
</section>

<section class="greenSection">

<article class="kanye">
It’s as yeezy as Kanye West.
<hr class="kanye-hr">
</article>
<div class="row">
<article class="explain">
<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>



</article>

<img src="images/spotify-icon-white.png" alt="Spotify Icon" class="icon2">
<img src="images/spotify-app.jpg" alt="Spotify Player" class="player">

</div>
</section>
</body>

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

*/

html {
box-sizing: border-box;
font-size: 16px;
}

*,
*:before,
*:after {
box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
margin: 0;
padding: 0;
font-weight: lighter;
}

/* Set the font */
body {
font-family: "Helvetica", sans-serif;


}


.nav-bar{
margin: 0;
padding: 0;
display: flex;
}

nav img {
height: 50px;
margin: 10px;
display: flex;
justify-content: flex-start;
align-items: center;

}

.nav-bar-ul {
width: 1200px;
padding: 20px;
margin: 0 auto;
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
}

.nav-bar-ul li {
list-style-type: none;
text-align: left;
margin: 20px;
}

.title {
background-image: url(../images/landing.jpg);
background-size: cover;
height: 650px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
color: white;


}

.music {
font-size: 80px;
font-weight: bold;
margin-bottom: 10px;
}

.quote {
display: flex;
margin-left:350px;
margin-right: 350px;
}

.whatOnSpotify {
font-size: 30px;
text-align: center;
margin-top: 20px;
}
hr {
margin: 5px auto 40px auto;
width: 17%;
border: 2px solid #00B172;
}

.icon {
height: 90px;
}

.articles-container {
display: flex;
align-items: center;
justify-content: space-around;
padding: 20px;

}
.subtitles {
color: #00B172;
font-size: 25px;
font-weight: bold;
margin-top: 15px;

}

.article {
display: flex;
flex-direction: column;
align-items: center;
}
.article p{
font-size: 20px;
text-align: center;
padding: 30px;
margin-left: 20%;
margin-right:20%;
}

.greenSection{
background-color: #00B172;
height:auto;
color: white;
padding: 30px;
display: flex;
flex-direction: column;
align-items: center;

}

.row{
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}

.kanye{
font-size: 30px;
margin-left:70px;
}
.kanye-hr{
margin-left: 00px;
width: 390px;
border: 2px solid white;
}


.explain h3{
font-size:20px ;
font-weight:bold;
margin-left: 70px;
margin-bottom: 25px;
}

.explain p{
margin-left: 70px;
margin-bottom: 25px;
margin-right: 100px;
}

.icon2 {
height: 150px;
width:min-content;
margin-right: 90px;

}

.player {
height:600px;
margin-right: 90px;

}