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
109 changes: 106 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,116 @@
<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
<header class="header-site">
<div class="header-inner">
<img src="images/spotify-logo.png" alt="" />

<div>
<ul>
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</div>
</div>
</header>

<section class="section-two">
<div class="section-two-heading">
<h1>MUSIC FOR EVERYONE</h1>
<h3>
Spotify is now free on mobile, tablet and computer. <br />
Listen to the right music, wherever you are.
</h3>
</div>
</section>

<section class="section-three">
<div class="section-three-heading">
<h1>What's on Spotify</h1>
</div>

<div class="section-three-main-block">
<div class="section-three-block">
<img src="images/music-icon.png" alt="" />
<h5>Millions of Songs</h5>
<p>
There are millions of <br />
songs on Spotify
</p>
</div>

<div class="section-three-block">
<img src="images/high-quality-icon.png" alt="" />
<h5>HD MUSIC</h5>
<p>
Listen to music as if you <br />
were listening live
</p>
</div>

<div class="section-three-block">
<img src="images/devices-icon.png" alt="" />
<h5>Stream Everywhere</h5>
<p>
Stream music on your <br />
smartphone, tablet or <br />
computer
</p>
</div>
</div>
</section>

<section class="section-four">
<div class="main">
<div class="left-side">
<h3>It’s as yeezy as Kanye West</h3>
<div class="left-side-inner">
<h4>Search</h4>
<p>
Know what you want to listen to? <br />
Just search and hit play.
</p>
</div>

<div class="left-side-inner">
<h4>Browse</h4>
<p>
Check out the latest charts,<br />
brand new releases and great <br />
playlists for right now.
</p>
</div>

<div class="left-side-inner">
<h4>Discover</h4>
<p>
Enjoy new music every Monday <br />
with your own personal playlist. <br />
Or sit back and enjoy Radio.
</p>
</div>
</div>

<div class="right-side">
<img src="images/spotify-app.jpg" alt="" />
</div>

<div class="position">
<img src="images/spotify-icon-white.png" alt="" />
</div>
</div>
</section>

<!-- 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.
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. -->
</body>
</html>
160 changes: 160 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,163 @@ Green: #00B172
White: #FFF

*/

* {
margin: 0;
padding: 0;
}
.header-site {
padding: 20px 20px;
}

.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
}
.header-inner ul {
display: flex;
gap: 20px;
list-style: none;
}
.header-inner li {
color: rgb(0, 0, 0);
cursor: pointer;
font-size: 25px;
font-weight: 100;
}

.header-inner img {
width: 150px;
}

/* sectiontwo css starts herw */

.section-two {
background-image: url(../images/landing.jpg);
height: 800px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 40px;
}

.section-two-heading h1 {
color: white;
font-size: 50px;
}

.section-two-heading h3 {
font-size: 20px;
text-align: center;
margin-top: 20px;
color: white;
font-weight: 100;
}

/* section three css starts from here */

.section-three {
text-align: center;
padding: 40px 0;
margin-bottom: 50px;
}

.section-three-heading h1 {
display: inline-block;
position: relative;
font-size: 40px;
font-weight: 700;
margin-bottom: 50px;
}

.section-three-heading h1::after {
content: "";
position: absolute;
bottom: -8px;
left: 0;
width: 100%;
height: 4px;
background-color: #1db954;
border-radius: 2px;
}

.section-three-main-block {
display: flex;
justify-content: center;
align-items: center;
}

.section-three-block {
width: 30%;
padding: 5px;
}

.section-three-block img {
width: 150px;
height: auto;
margin-bottom: 10px;
}

.section-three-block h5 {
color: #1db954;
font-size: 25px;
margin-bottom: 10px;
}

/* section four css starts here */

.section-four {
background-color: #1db954;

padding: 30px;
box-sizing: border-box;
}

.main {
display: flex;
justify-content: space-around;
align-items: center;
}
.left-side h3 {
color: white;
font-size: 35px;
border-bottom: 2px solid white;
}

.left-side-inner {
}

.right-side img {
width: 200px;
}

.left-side-inner {
padding: 10px;
margin-top: 20px;
}

.left-side-inner h4 {
font-size: 25px;
color: white;
margin-bottom: 10px;
}

.left-side-inner p {
color: white;
font-size: 20px;
}

.position {
position: relative;
}
.position img {
position: absolute;
width: 60px;
bottom: 10px;
right: 620px;
top: 0px;
}