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
92 changes: 85 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,92 @@
<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>
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.
<section class="topnav" id="topnav">
<img src="images/spotify-logo.png" alt="spotify-logo" id="logoimg" />
<div>
<ul>
<a href="#"><li>Premium</li></a>
<a href="#"><li>Discover</li></a>
<a href="#"><li>Help</li></a>
<a href="#"><li>Download</li></a>
</ul>
</div>
</section>

<section id="mainfront" class="header">
<div>
<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>

<section id="whatsonspotify" class="whatsonspotify">
<h2>What’s on Spotify?</h2>
<div>
<div>
<img src="images/music-icon.png" alt="Music icon" />
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</div>
<div>
<img src="images/high-quality-icon.png" alt="music sound wave icon" />
<h3>HD Music</h3>
<p>Listen to music as if you were listening live</p>
</div>
<div>
<img src="images/devices-icon.png" alt="tablet and phone icon" />
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</section>

<section id="greezy" class="greezy">
<div id="content">
<div id="greezy-text">
<div>
<h2 id="yeezy-header">It’s as yeezy as Kanye West.</h2>
</div>
<div>
<h3>Search</h3>
<p>Know what you want to listen to? Just search and hit play.</p>
</div>
<div>
<h3>Browse</h3>
<p>
Check out the latest charts, brand new releases and great
playlists for right now.
</p>
</div>
<div>
<h3>Discover</h3>
<p>
Enjoy new music every Monday with your own personal playlist. Or
sit back and enjoy Radio.
</p>
</div>
</div>
<div id="kanye-west-profile">
<img
src="images/spotify-app.jpg"
alt="kanye west spotify profile view"
class="kanye-west-profile"
/>
</div>
</div>
<div>
<img
src="images/spotify-icon-white.png"
alt="spotify music app in white"
class="spotify-icon-white"
/>
</div>
</section>
</body>
</html>
192 changes: 192 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,195 @@ Green: #00B172
White: #FFF

*/
html,
body {
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
overflow-x: hidden;
}

/*
Classes
*/
/*Top Nav*/
#logoimg {
width: 250px;
height: 70px;
}

.topnav {
background-color: #fff;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 100vw;
margin: 0;
padding: 0;
color: #1a1a1a;
position: fixed;
top: 0;
height: 120px;
}

.topnav img {
padding-left: 40px;
}

.topnav ul {
list-style: none;
display: flex;
flex-direction: row;
justify-content: space-evenly;
padding: 0;
margin: 0;
}

.topnav a {
text-decoration: none;
color: black;
font-size: 22px;
padding: 35px;
box-sizing: border-box;
}
/* End of Top Nav*/

/*Mainfront*/
.header {
background-image: url(../images/landing.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 100vw;
height: 1300px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}

.header h1 {
text-align: center;
font-size: 100px;
font-weight: bolder;
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.header p {
text-align: center;
font-size: 50px;
width: 1100px;
font-weight: lighter;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* End of Mainfront*/

/* Whatsonspotify*/
.whatsonspotify {
display: flex;
flex-direction: column;
align-items: center;

h2 {
font-size: 50px;
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
border-bottom: 7px #00b172 solid;
margin-bottom: 120px;
}

div {
display: flex;
flex-direction: row;
width: 100%;
justify-content: space-evenly;
}

h3 {
color: #00b172;
font-size: 40px;
font-weight: 900;
font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

p {
color: #1a1a1a;
font-size: 40px;
font-weight: 100;
text-align: center;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
div div {
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
width: 400px;
}

div div img {
width: 200px;
height: 200px;
}
}

/* End of Whatsonspotify*/

/* greezy*/
.greezy {
background-color: #00B172;
margin: 50px;
position: relative;
}

#yeezy-header {
font-size: 50px;
border-bottom: 5px #fff solid;
}
.content {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.spotify-icon-white {
width: 170px;
height: 170px;
position: absolute;
left: 45%;
top: 45%;
}

.kanye-west-profile {
width: 450px;
height: 750px;
}

#content {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 50px 100px 50px 100px;
color: #fff;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
box-sizing: border-box;
}

#greezy-text {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: start;
}

#greezy-text h3 {
font-size: 40px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#greezy-text p {
font-size: 30px;
width: 420px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* End of greezy*/