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
111 changes: 103 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,113 @@
<!DOCTYPE html>
<html lang="en">
<html lang="es">
<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 -->
<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.
<header class="header">
<nav class="nav-bar">
<img
src="./images/spotify-logo.png"
alt="spotify-logo"
width="200px"
height="60px"
/>
<ul class="nav-links">
<li><a href="#"></a>Premium</li>
<li><a href="#"></a>Discover</li>
<li><a href="#"></a>Help</li>
<li><a href="#"></a>Download</li>
</ul>
</nav>
<div class="header-tittle">
<h1 class="header-h1">Music for everyone.</h1>
<p class="header-p">
Spotify is now free on mobile, tablet and computer. Listen to the
right music, wherever you are
</p>
</div>
</header>
<main>
<section class="info-section">
<h2 class="info-section-h2">What’s on Spotify?</h2>
<div class="advantages-info">
<div class="advantage">
<img
src="./images/music-icon.png"
alt="music icon"
width="100px"
height="85px"
/>
<h3 class="advantage-h3">Millions of Songs</h3>
<p class="advantage-p">There are millions of songs on Spotify</p>
</div>
<div class="advantage">
<img
src="./images/high-quality-icon.png"
alt="high quality icon"
width="120px"
height="80px"
/>
<h3 class="advantage-h3">HD Music</h3>
<p class="advantage-p">
Listen to music as if you were listening live
</p>
</div>
<div class="advantage">
<img
src="./images/devices-icon.png"
alt="devices icon"
width="120px"
height="100px"
/>
<h3 class="advantage-h3">Stream Everywhere</h3>
<p class="advantage-p">
Stream music on your smartphone, tablet or computer
</p>
</div>
</div>
</section>
</main>
<footer class="footer">
<section class="footer-section space-width">
<div>
<h2 class="footer-h2">It’s as yeezy as Kanye West.</h2>
<div>
<h3 class="footer-h3">Search</h3>
<p class="footer-p">
Know what you want to listen to? Just search and hit play.
</p>
</div>
<div>
<h3 class="footer-h3">Browse</h3>
<p class="footer-p">
Check out the latest charts, brand new releases and great
playlists for right now
</p>
</div>
<div>
<h3 class="footer-h3">Discover</h3>
<p class="footer-p">
Enjoy new music every Monday with your own personal playlist. Or
sit back and enjoy Radio.
</p>
</div>
</div>
</section>
<div class="center-img space-logo">
<img
class="spotify-logo"
src="./images/spotify-icon-white.png"
alt="spotify-icon"
/>
</div>
<aside class="center-img space-width">
<img class="img-app" src="./images/spotify-app.jpg" alt="">
</aside>
</footer>
</body>
</html>
166 changes: 166 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,169 @@ Green: #00B172
White: #FFF

*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
box-sizing: border-box;
font-family: "Open Sans", sans-serif;
}

body {
margin: 0;
}

ul {
margin: 0;
padding: 0;
list-style-type: none;
}

.header {

background-image: url(/images/landing.jpg);
background-position: bottom;
background-size: cover;
height: 800px;

.nav-bar {
background-color: white;
display: flex;
justify-content: space-between;
width: 100%;
position: fixed;
padding: 10px;

.nav-links {
display: flex;
gap: 50px;
align-items: center;
padding-right: 80px;
}
}

.header-tittle {
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
color: white;
font-weight: 300;
height: 100%;
width: 100%;

.header-h1 {
font-size: 4rem;
font-weight: 600;
margin: 0;
}

.header-p {
font-size: 2rem;
padding: 0px 450px;
}
}
}

.info-section {
display: flex;
flex-direction: column;
align-items: center;
margin: 50px;

.info-section-h2 {
font-size: 2rem;
padding-bottom: 5px;
border-bottom: solid 3px #00B172;
}

.advantages-info {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin-left: 100px;
margin-right: 100px;
}

.advantage {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
width: 33.3%;
margin-top: 20px;


}

.advantage-h3{
font-size: 1.6rem;
color: #00B172;
margin-top: 1;
}

.advantage-p {
font-size: 1.3rem;
margin: 0;
padding: 0px 120px;
}
}

.footer {
display: flex;
justify-content: center;
background-color: #00B172;
margin: 0 20px;
color: white;
padding: 50px 150px;

.footer-h2{
display: inline-block;
font-size: 2.1rem;
font-weight: 500;
border-bottom: solid 2px white;
}

.footer-section {
padding-left: 100px;
}

.footer-h3 {
font-size: 1.8rem;
font-weight: 600;
}

.footer-p {
font-size: 1.3rem;
font-weight: 200;
width: 300px;
}

.spotify-logo{
width: 100px;
height: 100px;

}

.space-logo {
width: 30%;
}

.center-img {
display: flex;
justify-content: center;
align-items: center;
}

.space-width {
width: 35%;
}

.img-app {
width: 350px;
padding-top: 40px;
}
}