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
86 changes: 80 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,88 @@
<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" />
<link
rel="stylesheet"
href="https://cdn.rawgit.com/mfd/f3d96ec7f0e8f034cc22ea73b3797b59/raw/856f1dbb8d807aabceb80b6d4f94b464df461b3e/gotham.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 id="header">
<div id="logo">
<img src="./images/spotify-logo.png" alt="Spotify logo" />
</div>
<nav>
<ul id="nav-list">
<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>
</nav>
</header>

<section id="intro">
<h1>Music for everyone.</h1>
<article id="pitch-text">
<p>Spotify is now free on mobile, tablet and computer.</p>
<p>Listen to the right music, wherever you are.</p>
</article>
</section>

<section id="whats-on-spotify">
<h2>What’s on Spotify?</h2>
<div class="spotify-highlights-container">
<article class="spotify-highlights">
<img src="./images/music-icon.png" alt="Speaker icon" />
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</article>
<article class="spotify-highlights">
<img src="./images/high-quality-icon.png" alt="Wave sound icon" />
<h3>HD Music</h3>
<p>Listen to music as if you were listening live</p>
</article>
<article class="spotify-highlights">
<img src="./images/devices-icon.png" alt="Mobiles devices icon" />
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>
</article>
</div>
</section>

<section id="features">
<article id="features-text">
<h2>It’s as yeezy as Kanye West.</h2>
<div>
<h3>Search</h3>
<p>Know what you want to listen to? Just search and hit play.</p>
</div>
<div>
<h3>Browse</h3>
<p>
Check out 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>
</article>
<article id="features-image">
<div id="spotify-logo-white">
<img src="./images/spotify-icon-white.png" alt="White Spotify logo" />
</div>
<div id="app-snapshot">
<img src="./images/spotify-app.jpg" alt="Snapshot of Spotify app" />
</div>
</article>
</section>
</body>
</html>
167 changes: 167 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,170 @@
body {
margin: 0;
padding: 0;
font-family: "GothamPro";
font-weight: 300;
color: #1a1a1a;
}

#header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 25px;
position: fixed;
width: 100%;
background-color: white;
}

#logo {
display: flex;
justify-content: center;
}

#logo img {
max-height: 40px;
padding-left: 10px;
}

#nav-list {
display: flex;
justify-content: space-between;
list-style: none;
margin-right: 40px;
}

#nav-list li {
padding: 0px 10px;
}

#nav-list a {
text-decoration: none;
color: #1a1a1a;
}

#intro {
background-image: url("../images/landing.jpg");
background-size: cover;
height: 800px;
color: white;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

#intro h1 {
font-size: 60px;
font-weight: 500;
margin: 30px;
}

#intro p {
padding: 2px;
margin: 0;
font-size: 21px;
font-weight: 100;
text-align: center;
}

#whats-on-spotify {
text-align: center;
}

#whats-on-spotify h2 {
font-size: 30px;
font-weight: 500;
margin: 30px;
text-decoration: underline #00b172 4px;
text-underline-offset: 10px;
}

.spotify-highlights-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
padding: 20px;
}

.spotify-highlights {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
padding: 20px;
max-width: 20%;
margin: 0px 20px;
}

.spotify-highlights img {
max-width: 110px;
}

.spotify-highlights h3 {
font-size: 25px;
font-weight: 600;
margin: 10px;
color: #00b172;
}

.spotify-highlights p {
font-size: 20px;
font-weight: 100;
}

#features {
background-color: #00b172;
margin: 25px;
padding: 50px 80px;
color: white;
display: flex;
align-items: center;
position: relative;
}

#features h2 {
font-size: 30px;
font-weight: 500;
text-decoration: underline white 3px;
text-underline-offset: 10px;
margin: 40px 0px;
}

#features-text {
font-weight: 100;
}

#features-text div {
max-width: 50%;
}

#features h3 {
font-weight: 400;
font-size: 20px;
}

#features p {
font-size: 18px;
line-height: 1.5em;
}

#spotify-logo-white {

}

#spotify-logo-white img {
position: absolute;
max-width: 100px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

#app-snapshot img {
max-width: 300px;
}

/*
Colors:

Expand Down