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
104 changes: 98 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,105 @@
<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.

<header>
<nav>
<img id="logo" src="images/spotify-logo.png" alt="" width="250px" />
<ul id="ul">
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</nav>
</header>



<section id="section1">
<img
src="/lab-css-spotify-clone/images/landing.jpg"
alt=""
width="100%"
height="80%"
/>
<div id="div1">
<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>
</div>
</section>


<section id="section2">
<h1>What’s on Spotify?</h1>
<hr>
<div id="div2">
<div >
<img
src="/lab-css-spotify-clone/images/music-icon.png"
alt=""
width="170px"
/>
</div>
<div>
<img
src="/lab-css-spotify-clone/images/high-quality-icon.png"
alt=""
width="170px"
/>
</div>
<div>
<img
src="/lab-css-spotify-clone/images/devices-icon.png"
alt=""
width="170px"
/>
</div>
</div>
<div id="div3">
<h1>Millions of Songs</h1>
<h1>HD Music</h1>
<h1>Stream Everywhere</h1>
</div>
<div id="div4">
<p>There are millions of songs on Spotify</p>
<p>Listen to music as if you were listening live</p>
<p>Stream music on your smartphone, tablet or
computer
</p>
</div>
</section>


<section id="section3">
<div id="div5">
<div>
<h1>It’s as yeezy as Kanye West.</h1>
<hr>
<h2>Search</h2>
<p>Know what you want to listen to?</p>
<p>Just search and hit play.</p>
<h2>Browse</h2>
<p>
Check out the latest charts,</p>
<p>brand new releases and great</p>
<p>playlists for right now.</p>
</p>
<h2>Discover</h2>
<p>
Enjoy new music every Monday</p>
<p>with your own personal playlist.</p>
<p>Or sit back and enjoy Radio.</p>
</p>
</div>
<div><img src="/lab-css-spotify-clone/images/spotify-icon-white.png" width="150px" alt=""></div>
<div><img src="/lab-css-spotify-clone/images/spotify-app.jpg" height="550px" alt=""></div>
</div>
</section>

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

*/
body{
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
}
#logo{
margin: 20px 0 0 30px;
}
nav{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 120px;
background-color: white;
}
#ul{
display: flex;
justify-content: flex-end;
gap: 30px;
margin-right: 30px;
}
#ul li{
list-style: none;
font-size: 25px;
position: relative;
bottom: 67px;
}



/* section1 */
#div1{
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
top: 311px;
left: 383px;
color: #fff;
}
#div1 h1{
font-size: 81px;
margin-bottom: 42px;
}
#div1 p{
margin-top: 0px;
margin-bottom: 1px;
font-size: 32px;
}


/* section2 */
#section2 h1{
font-size: 35px;
text-align: center;
margin-bottom: 0;
}
hr{
background-color: #00B172;
width: 300px;
height: 4px;
margin-bottom: 91px;
}
#div2{
display: flex;
justify-content: space-evenly;
}
#div3{
display: flex;
justify-content: space-evenly;
margin-left: 35px;
color: #00B172;
}
#div4{
display: flex;
justify-content: space-evenly;
font-size: 25px;
/* margin-left: 80px; */

}
#div4 p{
padding: 0px;
text-align: center;

width: 300px;
}




#div5{
padding-top: 31px;
color: #fff;
background-color: #00B172;
display: flex;
margin: 25px 30px;
height: 750px;
justify-content: space-evenly;
}

#div5 h1{
font-size: 37px;
margin-bottom: 2px;
}

#div5 hr{
height: 3px;
background-color: #fff;
width: 490px;
position: relative;
right: 1px;
}

#div5 h2{
margin-top: 47px;
font-size: 28px;
}

#div5 p{
margin-bottom: -10px;
font-size: 21px;
}

#div5 div:nth-child(2){
position: relative;
top: 270px;
right: 80px;
}

#div5 div:last-child{
margin-top: 70px;
}