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

Spotify pp Arian Rai & Alejandro Ocaña #3225

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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: 62 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,64 @@
<!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>
<header>
<nav class="flex-container"><img src="./images/spotify-logo.png" alt="spotify-logo">
<ul class="flex-container">
<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>
</nav>
</header>
<section class="section1 flex-container">
<h1>Music for everyone.</h1>
<p>Spotify is now free on mobile, tablet and computer. </p>
<p>Listen to the right music, wherever you are.</p>
</section>
<section class="section2">
<h2>What's on Spotify?</h2>
<div class="flex-container central-div">
<article>
<img src="./images/music-icon.png" alt="music-icon">
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</article>
<article>
<img src="./images/high-quality-icon.png" alt="high-quality-icon">
<h3>HD Music</h3>
<p> Listen to music as if you were listening live</p>
</article>
<article>
<img src="./images/devices-icon.png" alt="devices-icon">
<h3>Stream Everywhere</h3>
<p> Stream music on your smartphone, tablet or computer</p>
</article>
</div>
</section>
<section class="flex-container section3">
<article>
<h3>It's as yeezy as Kanye West.</h3>
<h4>Search</h4>
<p>Know what you want to listen to? Just search and hit play.</p>
<h4>Browse</h4>
<p>Check out the latest charts,brand new releases and great playlists for right now.</p>
<h4>Discover</h4>
<p>Enjoy new music every Monday with yourown personal playlist. Or sit back and enjoy Radio.</p>
</article>
<article> <img src="images/spotify-app.jpg" alt="spotify-app"></article>

</section>
</body>

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

*/

* {
margin: 0px;
}

body {

font-family: sans-serif;
}

.flex-container {
display: flex;

}

header {

position: fixed;
margin: 0px;
width: 100%;
}

nav {
justify-content: space-between;
background-color: white;
padding: 20px 10px;
margin: 0px;
align-items: center;

}

nav img {

width: 300px;
}

nav ul {
list-style: none;

}

nav ul li {

margin-right: 25px;
font-size: 20px;

}

nav ul li a {

color: black;
text-decoration: none;

}

.section1 {
background-image: url(../images/landing.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
width: 100%;
height: 100vh;
align-items: center;
justify-content: center;
flex-direction: column;
}

.section1 h1 {
color: white;
font-size: 80px;
font-weight: 500;
margin-bottom: 30px;
}

.section1 p {
font-weight: normal;
color: white;
font-size: 28px;
}

.section2 h2 {

text-align: center;
padding-top: 30px;
font-size: 35px;

}

.central-div {

padding: 80px;

}

.central-div article {

display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.central-div article img {

width: 30%;

}

.central-div article p {

width: 45%;
text-align: center;
font-size: 20px;
padding-top: 28px;
}

.central-div article h3 {
margin-top: 20px;
font-size: 24px;
color: #00B172;

}

.section3 {

background-color: #00B172;
margin: 30px;
padding: 50px;
color: white;
}

.section3 h3 {

font-size: 30px;
}

.section3 h4 {

font-size: 24px;
margin-top: 40px;
}

.section3 p {

font-size: 16px;
width: 50%;
margin-top: 30px;
}

.section3 img {}