Skip to content

done #3547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

done #3547

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
70 changes: 64 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,72 @@
<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" />
<!-- 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.
<div class="main">

<header>
<nav class="nav">
<div>
<img src="images/spotify-logo.png">
</div>
<div class="menu">
<a href="#">Premium</a>
<a href="#">Discover</a>
<a href="#">Help</a>
<a href="#">Download</a>
</div>
</nav>
<div class="back">
<h1> Music for everyone.</h1>
<h2>Spotify is now free on mobile, tablet and computer. Listen to the
right music, wherever you are.</h2>
</div>
</header>
<section class="whats">
<div>
<h3> What’s on Spotify?</h3>

</div>
<div class="what-flex">
<div class="card">
<img class="icon" src="images/music-icon.png">
<h4> Millions of Songs</h4>
<p> There are millions of songs on Spotify</p>
</div>
<div class="card">
<img class="icon" src="images/high-quality-icon.png">
<h4> HD Music</h4>
<p> Listen to music as if you were listening live</p>
</div>
<div class="card">
<img class="icon" src="images/devices-icon.png">
<h4> Stream Everywhere</h4>
<p> Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</section>
<section class="green-box">
<div class="text">
<h4> It’s as yeezy as Kanye West.</h4>
<h5>Search </h5>
<p>Know what you want to listen to? <br>Just search and hit play. </p>
<h5>Browse</h5>
<p> Check out the
latest charts, <br> brand new releases and great <br>playlists for right now.</p>
<h5>Discover</h5>
<p>
Enjoy new music every Monday <br>with your
own personal playlist. <br>Or sit back and enjoy Radio.</p>
</div>
<div class="logo"> <img class="icon" src="images/spotify-icon-white.png"></div>
<div class="app"> <img class="app-img" src="images/spotify-app.jpg"></div>

</section>


</div>
</body>
</html>
177 changes: 177 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,180 @@ Green: #00B172
White: #FFF

*/

@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed:700|Roboto:100,300,700");
@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");

* {

margin: 0;
padding: 0;
box-sizing: border-box; /* Asegura que el padding y border no afecten al tamaño total del elemento */
}
/* Set the font */
body {
font-family: "Helvetica", sans-serif;
background-color: beige;
}

.main {
max-width: 1400px;
margin: auto;
background-color: white;
}

.nav {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
background-color: white;
}

.nav > div > img {
width: 180px;
padding: 20px;
}

a,
a:hover,
a:active {
color: inherit; /* Mantiene el mismo color cuando el enlace está en hover o active */
text-decoration: none; /* Quita el subrayado en hover o active si lo deseas */
font-size: 1em;
font-weight: 300;
}

.menu {
display: flex;
gap: 15px;
padding: 20px;
margin-right: 40px;
}
.back {
background: no-repeat url("../images/landing.jpg");
background-size: cover;
width: 100%; /* Ancho del contenedor */
height: 90vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: white;
text-align: center;
}
.back > h1 {
font-size: 4.4em;
font-weight: 500;
}
.back > h2 {
font-size: 1.5em;
font-weight: 200;
margin-top: 40px;
width: 40%;
}

.whats {
display: flex;
flex-direction: column;
align-items: center;
margin: 64px;
}
.whats > div > h3 {
position: relative;
display: inline-block;
padding-bottom: 10px;
overflow: hidden;
}
.whats > div > h3::after {
content: "";
position: absolute;
left: 0;
bottom: -1px;
width: 100%;
height: 4px;
background-color: #00B172
}

.what-flex {
display: flex;
flex-direction: row;
gap: 64px;
padding: 50px;

}

.card {
width: 250px;
height: 250px;
display: flex;
flex-direction: column;
align-items: center;
padding: 32px;

}

.card > .icon {
width: 80px;

}
.card > h4{
margin-top: 30px;
color: #00B172;

}
.card > p{
margin-top: 30px;
text-align: center;
color: #1A1A1A;
font-size: 1em;
}

.green-box{
margin: 0px 24px;
background-color: #00B172;
color: white;
display: flex;
justify-content: space-between;
align-items: center;

}
.green-box >.text{
display: flex;
flex-direction: column;
gap: 44px;


margin-left: 80px;
}
.green-box >.text > h4{
font-size: 2em ;
position: relative;
}
.green-box >.text > h4::after{
content: "";
position: absolute;
bottom: -10px;
right: 0px;
width: 100%;
height: 4px;
background-color: #ffffff
}
.green-box > .text > h5{
font-size: 1.3em;
}
.green-box >.text >p{
font-weight: 300;
line-height: 1.5em;

}
.green-box > .logo >.icon{
height: 100px;
}
.green-box > .app{
margin: 80px;
height: 568px;
}
.green-box > .app > .app-img{
width: 320px;
}