Skip to content

spotify copy done #3571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
77 changes: 71 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,80 @@
<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>
<div class="logo">
<img src="./images/spotify-logo.png" alt="Spotify logo" />
</div>
<div class="nav-right">
<ul class="navbar">
<li><a href="#">Premium</a></li>
<li><a href="#">Discover</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Download</a></li>
</ul>
</div>
</nav>
<div class="banner">
<div class="banner-box">
<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>
</div>
</header>

<section class="intro">
<h2>What’s on Spotify?</h2>
<div class="wrapper box">
<div class="box-content">
<img src="./images/music-icon.png" alt="music icon" />
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</div>
<div class="box-content">
<img src="./images/high-quality-icon.png" alt="hight-quality icon" />
<h3>HD Music</h3>
<p>Listen to music as if you were listening</p>
</div>
<div class="box-content">
<img src="./images/devices-icon.png" alt="music icon" />
<h3>live Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</section>

<section class="wrapper content">
<div class="content-left">
<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 class="content-right">
<img src="./images/spotify-app.jpg" alt="spotify app screenshot" />
</div>
<img src="./images/spotify-icon-white.png" alt="" />
</section>
</body>
</html>
183 changes: 183 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,186 @@ Green: #00B172
White: #FFF

*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
font-size: 10px;
}

body {
color: #1a1a1a;
}

ul {
list-style: none;
}

a {
text-decoration: none;
}

p {
font-size: 1.6rem;
}

h2 {
font-size: 4rem;
}

h3 {
font-size: 2.4rem;
}

.wrapper {
width: 90%;
margin: 0 auto;
}
/* header */
header {
width: 100%;
margin-bottom: 10rem;
}

nav {
width: 100%;
height: 10rem;
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 4rem;
}

.logo {
width: 10%;
}

.logo img {
width: 100%;
height: auto;
}

.nav-right {
width: 35%;
}

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

.navbar a {
color: #1a1a1a;
font-size: 1.6rem;
}

.navbar a:hover {
color: #00b172;
}

header .banner {
height: 128rem;
background: url(../images/landing.jpg) no-repeat;
background-size: cover;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

h1 {
font-size: 6.4rem;
margin-bottom: 3rem;
}

.banner p {
font-size: 2.2rem;
line-height: 1.8;
}

/* intro section */
.intro {
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-bottom: 10rem;
}

.intro h2 {
width: 38rem;
border-bottom: 4px solid #00b172;
margin-bottom: 6rem;
}

.box {
display: flex;
align-items: center;
justify-content: center;
gap: 6rem;
}

.box-content {
width: 30%;
height: 22rem;
}

.box-content img {
height: 8.6rem;
margin-bottom: 2rem;
}

.box-content h3 {
color: #00b172;
margin-bottom: 2rem;
}

/* section content */
.content {
background: #00b172;
color: #fff;
padding: 7rem;
display: flex;
align-items: center;
position: relative;
}

.content-left {
width: 50%;
}

.content-left h2 {
border-bottom: 3px solid #fff;
margin-bottom: 6rem;
}

.content-left h3 {
margin: 5rem 0;
}

.content-left p {
line-height: 1.6;
letter-spacing: 0.8px;
}

.content-right {
display: flex;
justify-content: flex-end;
}
.content-right img {
width: 60%;
}

.content > img {
width: 15rem;
height: 15rem;
position: absolute;
left: 40%;
top: 50%;
}