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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
76 changes: 70 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,78 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Spotify Clone</title>
<link rel="stylesheet" href="styles/style.css">
<!-- 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>
<div>
<img src="images/spotify-logo.png" alt="logo">
</div>
<ul>
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>

</nav>
<div class="banner">
<img src="images/landing.jpg" alt="">
<span class="text-container"><h1>Music for everyone</h1>
<p>Spotify is now free on mobile, tablet and computer. Listen to the right music, wherever you are</p>
</span>
</div>
</header>
<div class="mid-container">
<h2>What's on Spotify?</h2>
<div class="features">
<div class="icons">
<img src="images/music-icon.png" alt="">
<h3>Millions of Songs</h3>
<p>Lorem ipsum dolor sit amet consectetur.</p>
</div>
<div class="icons">
<img src="images/high-quality-icon.png" alt="">
<h3>HD Music</h3>
<p>Lorem ipsum dolor sit amet consectetur.</p>
</div>
<div class="icons">
<img src="images/devices-icon.png" alt="">
<h3>Stream Everywhere</h3>
<p>Lorem ipsum dolor sit amet consectetur.</p>
</div>


</div>

</div>
<div class="green-section">
<div class="text-section">
<h2>It's as yeezy as Kanye West.</h2>
<hr id="underline">
<div>
<h3>Search</h3>
<p>Know what you want to listen to? Just search and hit play.</p>
</div>
<div>
<h3>Browse</h3>
<p>Checkout 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 class="white-logo">
<img src="images/spotify-icon-white.png" alt="">
</div>
<div class="spotify-play">
<img src="images/spotify-app.jpg" alt="">
</div>
</div>


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

*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav{
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 16px;
height: 72px;

}
nav img{
width: 200px;
margin: 12px auto;
}
nav ul{
display: flex;
justify-content: space-around;
align-items: center;
gap: 24px;
}
ul{
list-style: none;
}

.banner img {
width: 100%;
/* height: calc(100vh-10px); */
height: 90vh;
}
.banner{
position: relative;
}
.text-container{
color: #FFF;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;

}
.text-container h1{
margin-bottom: 12px;
}

.mid-container{
width: 100%;
height: 50vh;
padding: 18px;
}
.mid-container h2{
text-align: center;
}
.features{
display: flex;
justify-content: space-around;
align-items: center;
padding: 6px;
margin: 24px auto;

}
.icons img{
width: 92px;
}
.icons{
padding: 12px;
text-align: center;

}
.icons h3{
color: #00B172;
margin-top: 6px;
}
.icons p{
color: #1A1A1A;
margin-top: 12px;
}
.green-section{
background-color: #00B172;
display: flex;
align-items: center;
justify-content: space-around;
color: #FFF;
height: 100vh;
}

.green-section .white-logo img{
width: 120px;
}
.spotify-play img{
width: 220px;
}
.text-section{
padding: 18px;
display: flex;
flex-direction: column;
gap: 18px;
}
.text-section h3{
margin-top: 24px;
}
.text-section p{
margin-top: 16px;
}
.spotify-play{
padding: 32px;
}
#underline{
height: 2px;
color: #FFF;

}