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

PT_REMOTE_180125_Fernando-Angele-Diep(3pax) #3518

Open
wants to merge 2 commits 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
84 changes: 77 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,84 @@
<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="header">

<nav class="navbar">
<img class="logo" src = ".\images/spotify-logo.png" alt="spotify 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>
</nav>

</section>

<section class="header-music">
<div class="musicContent">
<h1>Music for everyone.</h1>
<subheader>Spotify is now free on mobile, tablet and computer. Listen to the right music, wherever you are.</subheader>
</div>
</section>

<section class="what-on-spotify">
<div class="feature-title">
<h3> What is on Spotify? </h3>
</div>
<hr>

<div class="features">
<div class="feature-item">
<img class="feature-item-photo" src=".\images/music-icon.png" alt="loud-speaker"/>
<h4>Millions of songs</h4>
<p>There are millions of songs on Spotify</p>
</div>

<div class="feature-item">
<img class="feature-item-photo" src=".\images/high-quality-icon.png" alt="wavelength"/>
<h4>HD Music</h4>
<p>Listen to music as if you were listening live</p>
</div>

<div class="feature-item">
<img class="feature-item-photo" src=".\images/devices-icon.png" alt="devices"/>
<h4>Stream Everywhere</h4>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</section>

<section class="yeezy">
<div class="text-green">
<div class="Spoti-White">
<h3 class="Kanye-West">It’s as yeezy as Kanye West.</h3>
<hr>
</div>

<div class="yeezy-item">
<h4 class="Upper-Case">Search</h3>
<p>Know what you want to listen to? Just search and hit play.</p>
</div >

<div class="yeezy-item">
<h4 class="Upper-Case">Browse</h3>
<p>Check out the latest charts, brand new releases and great playlists for right now.</p>
</div >

<div class="yeezy-item">
<h4 class="Upper-case">Discover</h3>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</div >
</div>

<div>
<img class="app-photo" src=".\images/spotify-app.jpg" alt="spotify-app"/>
</div>
</section>
</body>
</html>

209 changes: 203 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,205 @@
/*
Colors:

Text: 1A1A1A
Green: #00B172
White: #FFF

*/

/*Start here */


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

*, *:before, *:after {

margin: 0;
padding: 0;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {

font-weight: lighter;
}

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

.header{
display: flex;
flex-direction: column;
position: fixed;
top:0;
left: 0
}
a {
text-decoration: none;
color: black;
}
ul {
list-style-type: none;

display: flex;
gap: 30px;
flex-direction: row;
justify-content: space-between;
/* align-items: flex-end; */
}

.navbar {
width: 98vw;
display: flex;
justify-content: space-evenly;
gap:63%;
align-items: center;
background-color: #f2f2f2;
padding: 10px 20px;
}

.logo {
height: 40px;
}

.musicContent {
font-size: 3em;
margin: 20px;
padding:25%;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
background-image: url("../images/landing.jpg");
background-size: cover;
background-color: transparent;
}

.musicContent h1, subheader {
display: flex;
justify-content: center;
text-align: center;
color: white;
}

.what-on-spotify{
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 50px;
height: 400px;
}

.features{
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
text-align: center;
}

.feature-item-photo{
height: 40px;
width: auto;
}

.feature-title{
display: flex;
align-self: center;
}

.feature-item{
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
margin-top: 60px;
max-width: 300px;
max-height: 600px;
gap: 20px;
}

.feature-item p{
align-self: center;
}

.feature-item h4{
color: green;
}

.yeezy{
display: flex;
flex-direction: row;
justify-content: space-between;
background-color: green;
background-image: url("../images/spotify-icon-white.png");
background-repeat: no-repeat;
background-position: center;
background-size: 10%;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 50px;
padding: 50px;
}

.text-green{
display: flex;
flex-direction: column;
color: white;
justify-content: space-between;
align-items: flex-start;
}

.app-photo{
height: 450px;
width: auto;
display: flex;
align-items: flex-end;
}

.yeezy-item{
display: flex;
flex-direction: column;
align-items: flex-start;
max-width: 300px;
max-height: 150px;
gap: 10px;
}

hr {
align-self: center;
margin: 30px 0px ;
}

.what-on-spotify hr{
width: 20vw;
color: green;
}

.text-green hr{
width: 26vw;
color: white;
}

h1{
font-weight: bold;
padding: 30px;
}

subheader{
font-size: xx-large;
}


h3 {
font-weight: bold;
font-size: xx-large;
}

h4{
font-weight: bold;
font-size: x-large;
}