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
64 changes: 57 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,65 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="/styles/style.css">
<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.
<header>
<nav class="navbar">
<img class="logo" src="/images/spotify-logo.png" alt="logo">
<ul class="navbar-list">
<li class="navbar-item"><a class="navbar-link" href="#">Premium</a></li>
<li class="navbar-item"><a class="navbar-link" href="#">Discover</a></li>
<li class="navbar-item"><a class="navbar-link" href="#">Help</a></li>
<li class="navbar-item"><a class="navbar-link" href="#">Download</a></li>
</ul>
</nav>
</header>
<main>
<article>
<h1>Music for everyone.</h1>
<p>
Spotify is now free on mobile, tablet and computer. <br>Listen to the right music, wherever you are.
</p>
</article>
<article>
<h2>What’s on Spotify?</h2>
<div class="options">
<div class="option">
<img src="/images/music-icon.png" alt="icon">
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</div>
<div class="option">
<img src="/images/high-quality-icon.png" alt="icon">
<h3>HD Music</h3>
<p>Listen to music as if you were listening live</p>
</div>
<div class="option">
<img src="/images/devices-icon.png" alt="icon">
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</article>
<article>
<div>
<h2>It’s as yeezy as Kanye West.</h2>
<h3>Search</h3>
<p>Know what you want to listen to?<br> Just search and hit play.</p>
<h3>Browse</h3>
<p>Check out the latest charts,<br>brand new releases and great<br>playlists for right now.</p>
<h3>Discover</h3>
<p>Enjoy new music every Monday<br>with your own personal playlist.<br>Or sit back and enjoy Radio.</p>
</div>
<!-- <div>
<img src="/images/spotify-icon-white.png" alt="icon white">
</div> -->
<div>
<img src="/images/spotify-app.jpg" alt="app screenshot">
</div>
</article>
</main>
</body>
</html>
148 changes: 148 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,151 @@ Green: #00B172
White: #FFF

*/
*{
box-sizing: content-box;
margin: 0px;
padding: 0px;
font-family: "Lato", sans-serif;
}

header{
position: fixed;
background-color: #FFFFFF;
width: 100%;
}

.navbar{
display: flex;
align-items: center;
justify-content: space-between;
margin: 1rem;
}

.navbar-list{
display: flex;
}

.navbar-item{
list-style-type: none;
padding: 1rem;
}

.navbar-link{
text-decoration: none;
color: #1A1A1A;
}

.logo{
max-height: 3.5rem;
}

article:first-of-type{
background-image: url(/images/landing.jpg);
background-size: cover;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 1200px;
gap: 2.5rem;
}

article:first-of-type h1, p{
color:#FFFFFF;
}

article:first-of-type h1{
text-align: center;
font-size: 5rem;
}

article:first-of-type p{
text-align: center;
font-size: 1.75rem;
font-family: "Lato light", sans-serif;
}

article:nth-of-type(2){
display: flex;
flex-direction: column;
justify-content: space-between;
height: 300px;
}

article:nth-of-type(2) h2{
text-align: center;
padding: 1rem;
text-decoration: underline #00B172 0.2rem;
text-underline-offset: 8px;
}

article:nth-of-type(2) img{
max-width: 100px;
}

.options{
display: flex;
align-items: center;
justify-content: center;
gap: 3rem;
}

.option{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
}

.option h3{
color: #00B172;
text-align: center;
font-family: "Lato black", sans-serif;
font-size: 1.5rem;
}

.option p{
color: #1A1A1A;
text-align: center;
font-family: "Lato light", sans-serif;
font-size: 1.25rem;
}

article:nth-of-type(3){
display: flex;
align-items: center;
justify-content: space-around;
background-color: #00B172;
background-image: url(/images/spotify-icon-white.png);
background-repeat: no-repeat;
background-size: 10%;
background-position: center;
height: 700px;
margin-left: 1rem;
margin-right: 1rem;
}

article:nth-of-type(3) div:first-of-type h2, h3, p{
color:#FFFFFF;
}

article:nth-of-type(3) div:first-of-type h2{
text-decoration: underline #FFFFFF 0.2rem;
text-underline-offset: 8px;
margin: 2rem 0rem;
}

article:nth-of-type(3) div:first-of-type h3{
margin: 2rem 0rem;
font-family: "Lato black", sans-serif;
}

article:nth-of-type(3) div:first-of-type p{
font-family: "Lato light", sans-serif;
font-size: 1.1rem;
}

article:nth-of-type(3) img{
max-width: 300px;
}