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

done #3504

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

done #3504

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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode
69 changes: 62 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,69 @@
<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.
<header class="header">
<nav class="navbar">
<img class="logo" src="images/spotify-logo.png" alt="Spotify logo" />
<div class="links">
<span class="premium">Premium</span>
<span class="discover">Discover</span>
<span class="help">Help</span>
<span class="download">Download</span>
</div>
</nav>
</header>
<div class="container-cover">
<p class="text-header">Music for everyone.</p>
<p class="text-subheader">Spotify is now free on mobile, tablet and computer. Listen to the right music, wherever you are.</p>
</div>

<h2>What’s on Spotify?</h2>

<div class="feature-section">

<div class="feature-container-main">
<div class="feature-container">
<img class="icon" src="images/music-icon.png" alt="music icon" />
<p class="feature-title">Millions of Songs</p>
<p class="songs-subheader">There are millions of songs on Spotify.</p>
</div>
<div class="feature-container">
<img class="icon" src="images/high-quality-icon.png" alt="play icon" />
<p class="feature-title">HD Music</p>
<p class="music-subheader">Listen to music as if you were listening live</p>
</div>
<div class="feature-container">
<img class="icon" src="images/devices-icon.png" alt="devices-icon" />
<p class="feature-title">Stream Everywhere</p>
<p class="stream-subheader">Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</div>

<div class="artist-section-div">
<p class="artist-header">It's as yeezy as Kanye West.</p>

<div class="artist-container-main">
<div class="action-container">
<p class="options">Search</p>
<p class="action-subheader">Know what you want to listen to? Just search and hit play.</p>
</div>
<div class="action-container">
<p class="options">Browse</p>
<p class="action-subheader">Check out the latest charts, brand new releases and great playlists for right now.</p>
</div>
<div class="action-container">
<p class="options">Discover</p>
<p class="action-subheader">Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</div>
</div>
<img class="big-logo" src="images/spotify-icon-white.png" alt="Spotify logo" />
<img class="kanye" src="images/spotify-app.jpg" alt="kanye in app" />
</div>


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

*/

body {
background-color: #FFF;
color: #1A1A1A;
font-family: Arial, sans-serif;
margin: auto;
}

.navbar {
display: flex;
top: 0;
width: 100%;
justify-content: space-between;
padding: 10px 20px;
position: fixed;
background-color: #FFF;
}
.links {
display: flex;
justify-content: space-between;
width: 38%;
padding-top: 10px;
margin-right: 60px;

}
.logo {
width: 10%;
}

.container-cover {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
background-image: url(../images/landing.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
color: #FFF;
margin-bottom: 30px;
}
.text-header {
font-size: 54px;
font-weight: 400;
}
.text-subheader {
font-size: 16px;
font-weight: 0;
max-width: 450px;
margin: 0;
}
h2 {
text-align: center;
}
.feature-section {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 30vh;
text-align: center;
margin-top: 30px;
margin-bottom: 50px;
height: auto;

}
.feature-container-main {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20px;
margin: 10px;
height: auto;

}
.feature-header {
margin: 40px;
font-size: 24px;
font-weight: 600;
display: flex;

}
.feature-title {
margin-bottom: 10px;
font-size: 18px;
font-weight: 600;
}

.icon {
width: 40%;
}
.feature-container {
padding: 20px;
text-align: center;
}

.artist-section-div {
display: flex;
position: relative;
flex-direction: column;

justify-content: center;
margin-top: 0px;
margin-bottom: 0px;
background-color: #00B172;
color: #FFF;
}
.artist-header {
font-size: 24px;
border-bottom: 2px solid #FFF;
left: 0;
max-width: 310px;
padding-bottom: 10px;
margin: 50px 0 0 50px;

}
.options {
font-size: 22px;
font-weight: 600;
color: #FFF;
}

.artist-container-main {
display: grid;
grid-template-rows: repeat(3, 1fr);
width: 35%;
height: auto;
position: relative;
margin-left: 50px;
}

.action-container {
padding: 10px;
text-align: left;
position: relative;
margin-right: 20px;
}
.action-subheader {
font-weight: 100;
opacity: 0.95;
}

.big-logo {
height: 15%;
width: auto;
position: absolute;
margin-top: 50px;
margin-left: 49%;
}
.kanye {
height: 80%;
margin-top: 50px;
margin-left: 70%;
float: right;
position: absolute;


}