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
85 changes: 71 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,75 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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.
</body>
<link rel="stylesheet" href="C:/Users/USER/Desktop/trioes/lab-css-spotify-clone/styles/style.css">
</head>
<body>
<div class="top-bar">
<div class="logo">
<img src="images/spotify-logo.png" alt="Logo">
</div>
<div class="nav-buttons">
<button>Premium</button>
<button>Discover</button>
<button>Help</button>
<button>Download</button>
</div>
</div>

<div class="hero-section">
<div class="hero-content">
<h1>Music for everyone.</h1>
<p>Spotify is now free on mobile, tablet and computer.<br>Listen to the right music, wherever you are.</p>
</div>
</div>


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

<div class="yeezy-section">

<div class="yeezy-content">
<h2>It's as yeezy as Kanye West.</h2>
<hr class="section-underline">
<div class="yeezy-text">
<h3>Search</h3>
<p>Know what you want to listen to? Just search and hit play.</p>
<h3>Browse</h3>
<p>Check out the latest charts, brand new releases and great playlists for right now.</p>
<h3>Discover</h3>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</div>
<img src="images/spotify-icon-white.png" alt="Spotify Logo" class="spotify-logo">
</div>
<div class="yeezy-image">
<img src="images/spotify-app.jpg" alt="Kanye West Phone App Image">
</div>
</div>


</body>
</html>

181 changes: 175 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,177 @@
/*
Colors:

Text: 1A1A1A
Green: #00B172
White: #FFF
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

*/
body {
font-family: Arial, sans-serif;
margin: 0;
}


.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
padding: 20px 30px;
color: rgb(70, 161, 47);
border-bottom: 1px solid #ddd;
}

/* Logo image styling */
.logo img {
height: 50px;
width: auto;
}

/* Navigation button container */
.nav-buttons {
display: flex;
gap: 10px;
}

/* Styling for buttons */
.nav-buttons button {
background-color: #ffffff;
color: rgb(14, 9, 9);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 30px;
font-weight:lighter;
border: none;
padding: 10px 15px;
cursor: pointer;
}

.nav-buttons button:hover {
background-color: #777;
color: #fff;
}


.hero-section {
height: 100vh;
background-image: url('C:/Users/USER/Desktop/trioes/lab-css-spotify-clone/images/landing.jpg');
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
color: rgb(255, 255, 255);
text-align: center;
padding: 0 20px;
}

.hero-content h1 {
font-size: 4rem;
margin-bottom: 20px;
}

.hero-content p {
font-size: 1.5rem;
line-height: 1.5;
}

.features-section {
text-align: center;
margin: 50px 0;
}

.features-section h2 {
font-size: 2rem;
color: #333;
}

.section-underline {
width: 300px;
height: 4px;
background-color: #1db954;
border: none;
margin: 5px auto;
}

.features {
display: flex;
justify-content: space-around;
align-items: center;
margin-top: 50px;
}

.feature {
text-align: center;
max-width: 300px;
}

.feature img {
height: 100px;
margin-bottom: 20px;
}

.feature h3 {
color: #1db954;
font-size: 2rem;
margin-bottom: 15px;
}

.feature p {
color: #555;
font-size: 1.7rem;
}

.yeezy-section {
display: flex;
background-color: #1db954;
padding: 30px 20px;
margin: 25px;
justify-content: space-around;
align-items: center;
}

.yeezy-content {
color: white;
max-width: 50%;
}

.yeezy-content h2 {
font-size: 2rem;
color: white;
margin-bottom: 5px;
}

.section-underline {
width: 100%;
height: 4px;
background-color: white;
border: none;
margin-bottom: 20px;
}


.yeezy-text h3 {
font-size: 1.7rem;
margin-bottom: 10px;
}

.yeezy-text p {
font-size: 1.3rem;
margin-bottom: 20px;
line-height: 1.5;
}

.spotify-logo {
position:relative;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60px;
z-index: 10;
}


.yeezy-image img {
max-width: 300px;
height: auto;
border-radius: 15px;
}