Skip to content
Open

Done! #109

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
64 changes: 57 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,64 @@
<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">
</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.

<nav>
<a href="https://www.spotify.com" target="_blank"><img id="logo" src="./images/spotify-logo.png" alt="Logo"></a>
<div>
<a href="#">Premium</a>
<a href="#">Discover</a>
<a href="#">Help</a>
<a href="#">Download</a>
</div>
</nav>

<section class="section1">
<div>
<h1 class="section1-title">Music for everyone.</h1>
<p class="section1-text">Spotify is now free on mobile, tablet and computer. </p>
<p class="section1-text">Listen to the right music, wherever you are. </p>
</div>
</section>
<section class="section2">
<h1 class="section2-title">What’s on Spotify?</h1>
<div class="spotify-info-container">
<div class="spotify-info">
<img src="./images/music-icon.png" alt="music icon" class="icon">
<h6>Millions of Songs</h6>
<p>There are millions of songs on Spotify</p>
</div>
<div class="spotify-info">
<img src="./images/high-quality-icon.png" alt="high quality icon" class="icon">
<h6>HD Music</h6>
<p>Listen to music as if you were listening live</p>
</div>
<div class="spotify-info">
<img src="./images/devices-icon.png" alt="Devices" class="icon">
<h6>Stream Everywhere</h6>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</section>
<section id="section3">
<div>
<h1 class="section3-title">It’s as yeezy as Kanye West.</h1>
<div class="section3-info">
<h6>Search</h6>
<p>Know what you want to listen to? Just search and hit play.</p>
</div>
<div class="section3-info">
<h6>Browse</h6>
<p>Check out the latest charts, brand new releases and great playlists for right now.</p>
</div>
<div class="section3-info">
<h6>Discover</h6>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio. </p>
</div>
</div>
<img src="./images/spotify-app.jpg" alt="Spotify app">
</section>
</body>
</html>
156 changes: 156 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,159 @@ Green: #00B172
White: #FFF

*/

/* NavBar */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
color: #1A1A1A;
}

body {
margin: 0;
overflow-x: hidden;
}

nav {
position: fixed;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 50px;
background-color: #FFF;
width: 100vw;
}

#logo {
width: 170px;
}

#logo:hover {
cursor: pointer;
}

nav a {
text-decoration: none;
list-style: none;
padding: 5px 10px;
margin: 5px;
}

nav a:hover {
color: #00B172;
}

/* Main section */

.section1 {
background-image: url('../images/landing.jpg');
background-size: contain;
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}

.section1-title {
color: #FFF;
font-size: 65px;
font-weight: 100;
margin-bottom: 25px;
}

.section1-text {
color: #FFF;
font-size: 20px;
font-weight: 100;
margin-bottom: 5px;
}

/* Section 2 */

.section2-title {
text-align: center;
margin: 30px;
font-size: 30px;
}

.spotify-info-container {
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
margin: 0 80px;
}

.spotify-info {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-bottom: 50px;
max-width: 250px;
}

.spotify-info h6 {
color: #00B172;
font-size: 25px;
margin-bottom: 10px;
}

.spotify-info p {
text-align: center;
font-size: 20px;
}

.icon {
width: 120px;
}

/* Section 3 */

#section3 {
background-color: #00B172;
display: flex;
justify-content: space-between;
align-items: center;
margin: 40px;
padding: 80px;
background-image: url('../images/spotify-icon-white.png');
background-repeat: no-repeat;
background-size: 130px;
background-position: center;
}

#section3 img {
width: 23vw;
}

.section3-title {
color: #FFF;
font-size: 40px;
border-bottom: #FFF 4px solid;
max-width: fit-content;
padding: 8px;
}

.section3-info {
max-width: 25vw;
}

.section3-info h6 {
color: #FFF;
font-size: 30px;
font-weight: bold;
margin: 40px 0;
}

.section3-info p {
color: #FFF;
font-size: 18px;

}