Skip to content

done spotify-clone #3550

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
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
84 changes: 78 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,87 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="/styles/style.css" />
<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.
<section id="header">
<header>
<nav>
<img
src="./images/spotify-logo.png"
class="logo"
alt="spotify-logo"
/>
<ul class="nav-links">
<li><a href="#">Premium</li></a>
<li><a href="#">Discover</li></a>
<li><a href="#">Help</li></a>
<li><a href="#">Download</li></a>
</ul>
</nav>
</header>
</section>
<section id="landing">
<img
src="./images/landing.jpg"
class="landing-image"
alt="Imagen de landing"
/>
<h1>Music for everyone.</h1>
<p>
Spotify is now free on mobile, tablet and computer. Listen to the right
music, wherever you are.
</p>
</section>
<section id="features">
<h2>What’s on Spotify?</h2>
<ul class="features-list">
<li>
<img src="./images/music-icon.png" alt="music-icon" />
Millions of Songs
<p>There are millions of songs on Spotify</p>
</li>
<li>
<img src="./images/high-quality-icon.png" alt="high-quality-icon" />
HD Music
<p>Listen to music as if you were listening live</p>
</li>
<li>
<img src="./images/devices-icon.png" alt="devices-icon" />
Stream Everywhere
<p>Stream music on your smartphone, tablet or computer</p>
</li>
</ul>
</section>
<section id="general-info">
<div>
<h2>It’s as yeezy as Kanye West.</h2>
<hr />
<ul>
<li>
Search
<p class="general-info-p">Know what you want to listen to? Just search and hit play.</p>
</li>
<li>
Browse
<p class="general-info-p">
Check out the latest charts, brand new releases and great
playlists for right now.
</p>
</li>
<li>
Discover
<p class="general-info-p">
Enjoy new music every Monday with your own personal playlist. Or
sit back and enjoy Radio.
</p>
</li>
</ul>
</div>
<div><img src="./images/spotify-icon-white.png" width="100px" height="100px" alt="music-icon" /></div>
<div><img src="./images/spotify-app.jpg" alt="spotify-app-img" /></div>
</section>
</body>
</html>
195 changes: 195 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,198 @@ Green: #00B172
White: #FFF

*/

body {
margin: 0;
padding: 0;
font-family: 'Open Sans', sans-serif;
background-color: #FFF;
}
#header{
height: 100px;
width: 100%;
}
.logo{
padding: 10px 0 20px 20px;
width: auto;
height: 70px;
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 1rem;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}
.nav-links {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.nav-links li a {
display: inline-block;
margin: 0 10px;
text-decoration: none;
color:black;
}

#landing {
position: relative;
}

.landing-image{
width: 100%;
height: 600%;
display: block;
}

#landing h1{
top:30%;
position: absolute;
width: 100%;
text-align: center;
color: white;
font-size: 4rem;

}

#landing p {
top: 70%;
position: absolute;
width: 100%;
text-align: center;
color: white;
font-size: 1.5rem;

}

#features {

text-align: center;
padding: 50px 20px;
background-color: #f9f9f9;
}

#features h2 {
font-size: 2rem;
margin-bottom: 20px;
color: #1A1A1A;
}

#features ul {
display: flex;
flex-direction: row;
justify-content: center;
gap: 30px;
padding: 0;
list-style: none;
flex-wrap: wrap;

}
.features-list{
justify-content: space-between;
align-items: center;
padding: 0 1rem;

}
#features li {
display: flex;
flex-direction: column;
align-items: center;
max-width: 250px;
text-align: center;
font-weight: bold;
color:#00B172;
}

#features li img {
width: 80px;
height: auto;
margin-bottom: 15px;
}

#features li p {
color: #666;
margin-top: 10px;
}

#general-info {
width: 90%;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
gap: 50px;
padding: 50px 20px;
background-color: #00B172;
color: #FFF;
text-align: left;
}

#general-info div {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
}

#general-info h2 {
font-size: 1.5rem;
margin-bottom: 10px;
}

#general-info hr {
width: 100%;
margin-bottom: 20px;
border: 1px solid #FFF;
}

#general-info ul {
list-style: none;
padding: 0;
}

#general-info li {
font-size: 1.2rem;
margin-bottom: 15px;
}

#general-info li p {
font-size: 1rem;
color: #f1f1f1;
margin-top: 5px;
}

#general-info img {
max-width: 100%;
height: auto;
}


#general-info>div:first-child {
align-items: flex-start;
text-align: left;
}

#general-info>div:nth-child(2) {
align-items: center;
}

#general-info>div:last-child {
align-items: flex-end;
}

.general-info-p {
padding-top: 15px;
font-size: 1em;
}