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
60 changes: 53 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,60 @@
<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" type="text/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.
<div class="nav">
<img src="images/spotify-logo.png" class="logo">
<ul class="nav-options">
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</div>
<div class="landing-page" >
<h1>Music for everyone.</h1>
<p>Spotify is now free on mobile, tablet and computer. Listen to the
right music, wherever you are.</p>
</div>
<div class="what">
<p>What’s on Spotify?</p>
<div class="main-box">
<div class="boxes">
<img src="images/music-icon.png">
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</div>
<div class="boxes">
<img src="images/high-quality-icon.png">
<h3>HD Music</h3>
<p>Listen to music as if you were listening live</p>
</div>
<div class="boxes">
<img src="images/devices-icon.png">
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet, or computer</p>
</div>
</div>
</div>
<div class="artist">
<div class="description">
<div class="info">
<h1>It’s as yeezy as Kanye West.</h1>
<h2>Search</h2>
<p>Know what you want to listen to? Just search and hit play.</p>
<h2>Browse</h2>
<p>Check out the
latest charts, brand new releases and great playlists for right now.</p>
<h2>Discover</h2>
<p>Enjoy new music every Monday with your
own personal playlist. Or sit back and enjoy Radio.</p>
</div>
<div class="image">
<img src="images/spotify-app.jpg">
</div>
</div>
</div>
</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

*/

.nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 20px;
background-color: #FFF;
color: 1A1A1A;
}

.logo {
height: 40px;
}

.nav-options {
list-style: none;
display: flex;
gap: 15px;
margin: 0;
padding: 0;
margin-right: 30px;
}

.nav-options li {
cursor: pointer;
}


.landing-page {
margin-top: 60px;
height: calc(100vh - 60px);
background-image: url('../images/landing.jpg');
background-size: cover;
background-position: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #FFF;
text-align: center;
}

.landing-page h1 {
font-size: 3rem;
margin-bottom: 20px;
}

.landing-page p {
font-size: 1.5rem;
max-width: 600px;
line-height: 1.8;
}

.what {
text-align: center;
margin: 50px 0;
padding: 20px;
}

.what p {
font-size: 2rem;
margin-bottom: 30px;
color: #1A1A1A;
}

.main-box {
display: flex;
justify-content: space-around;
gap: 20px;
flex-wrap: wrap;
}

.boxes {
background-color: #fff;
border-radius: 10px;
padding: 20px;
text-align: center;
width: 20%;
}


.boxes img {
width: 60px;
height: auto;
margin-bottom: 10px;
}

.boxes h3 {
font-size: 1.5rem;
margin-bottom: 10px;
color: #00B172;
}

.boxes p {
font-size: 1rem;
color: #1A1A1A;
line-height: 1.6;
}

@media (max-width: 768px) {
.boxes {
width: 80%;
margin: 10px auto;
}
}
.artist {
background-color: #00B172;
color: #fff;
margin-bottom: 30px;
background-image: url('../images/spotify-icon-white.png');
background-repeat: no-repeat;
background-position: center;
background-size: 10%;
display: flex;
align-items: center;
justify-content: center;
}


.description{
display: flex;

}

.info{
margin-inline: 5%;
padding: 5%;
}

.info p{
max-width: 30%;
font-size: 1.3rem;
}

.info h1{
text-decoration: underline;
}

.image img{
height: 70%;
width: 70%;
margin: 10%;
padding: 8%;
}