Skip to content
Open

Done #3620

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
88 changes: 72 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,74 @@
<!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" />
<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>
</html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Spotify Landing Page</title>
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>

<!-- HEADER -->
<header class="navbar">
<div class="logo">
<img src="./images/spotify-logo.png" alt="Spotify Logo">
</div>
<nav class="menu">
<a href="#">Premium</a>
<a href="#">Discover</a>
<a href="#">Help</a>
<a href="#">Download</a>
</nav>
</header>

<!-- HERO SECTION -->
<section class="hero">
<div class="hero-text">
<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>
</section>

<!-- FEATURES -->
<section class="features">
<h2>What’s on Spotify?</h2>
<div class="features-container">
<div class="feature-box">
<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="feature-box">
<img src="./images/high-quality-icon.png" alt="HD icon">
<h3>HD Music</h3>
<p>Listen to music as if you were listening live</p>
</div>
<div class="feature-box">
<img src="./images/devices-icon.png" alt="Stream icon">
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</section>

<!-- BOTTOM SECTION -->
<section class="bottom">
<div class="bottom-text">
<h2>It’s as yeezy as Kanye West.</h2>
<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>

<div class="bottom-visuals">
<img class="bottom-logo" src="./images/spotify-icon-white.png" alt="Spotify Logo">
<img class="bottom-image" src="./images/spotify-app.jpg" alt="Kanye West Spotify Example">
</div>
</section>

</body>
</html>
146 changes: 140 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,142 @@
/*
Colors:
html, body {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}

Text: 1A1A1A
Green: #00B172
White: #FFF

*/


/* ====== HEADER ====== */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 60px;
background-color: white;
}

.logo img {
height: 40px;
}

.menu a {
text-decoration: none;
color: black;
margin-left: 20px;
font-size: 16px;
}

.menu a:hover {
color: #1db954;
}

/* ====== HERO SECTION ====== */
.hero {
background-image: url('../images/landing.jpg');
background-size: cover;
background-position: center;
height: 500px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: white;
}

.hero-text h1 {
font-size: 3em;
font-weight: 700;
}

.hero-text p {
margin-top: 10px;
font-size: 1.2em;
}

/* ====== FEATURES SECTION ====== */
.features {
text-align: center;
padding: 60px 20px;
background-color: #fff;
}

.features h2 {
font-size: 2em;
margin-bottom: 40px;
border-bottom: 2px solid #1db954;
display: inline-block;
padding-bottom: 5px;
}

.features-container {
display: flex;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
}

.feature-box {
width: 250px;
padding: 20px;
border: 2px solid #eee;
border-radius: 10px;
}

.feature-box img {
width: 60px;
margin-bottom: 15px;
}

.feature-box h3 {
color: #1db954;
font-size: 1.3em;
margin-bottom: 10px;
}

.feature-box p {
color: #555;
}

/* ====== BOTTOM SECTION ====== */
.bottom {
background-color: #1db954;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 60px;
flex-wrap: wrap;
}

.bottom-text {
max-width: 500px;
}

.bottom-text h2 {
font-size: 2em;
margin-bottom: 20px;
}

.bottom-text h3 {
margin-top: 15px;
font-size: 1.3em;
}

.bottom-visuals {
display: flex;
align-items: center;
gap: 25px;
}

.bottom-logo {
width: 80px;
filter: brightness(0) invert(1); /* Lo hace blanco */
}

.bottom-image {
width: 250px;
border-radius: 10px;
box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}