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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
64 changes: 58 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,65 @@
<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>
<nav>
<img src="images/spotify-logo.png" alt="spotify-logo">
<ul>
<li><a href="#">Premium</a></li>
<li><a href="#">Discover</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Download</a></li>
</ul>
</nav>
<article>
<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>
</article>
</header>
<section>
<div class="title">
<h4>What’s on Spotify?</h4>
<hr>
</div>
<article class="article">
<div class="features">
<img src="./images/music-icon.png" alt="music-icon">
<h4>Millions of Songs</h4>
<p>There are millions of songs on Spotify</p>
</div>
<div class="features">
<img src="./images/high-quality-icon.png" alt="">
<h4>HD Music</h4>
<p>Listen to music as if you were listening live</p>
</div>
<div class="features">
<img src="./images/devices-icon.png" alt="devices-icon">
<h4>Stream Everywhere</h4>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</article>
</section>
<footer>
<section class="verde">
<article>
<div class="title">
<h3>It’s as yeezy as Kanye West.</h3>
<hr>
</div>
<h4>Search</h4>
<p>Know what you want to listen to? Just search and hit play. </p>
<h4>Browse</h4>
<p>Check out the latest charts, brand new releases and great playlists for right now.</p>
<h4>Discover</h4>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</article>
<aside>
<img src="./images/spotify-app.jpg" alt="">
</aside>
</section>
</footer>
</body>
</html>
128 changes: 127 additions & 1 deletion styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,130 @@ Colors:
Text: 1A1A1A
Green: #00B172
White: #FFF
*/
*/
* h1, h2,h3, h4, div, nav, ul, li, img, body, hr {
margin: 0;
--text: #1A1A1A;
--green: #00B172;
--white: #fff;
font-size: 18px;
font-family: sans-serif;
}

nav {
height: 6vh;
width: 100vw;
display: flex;
justify-content: space-around;
padding: 10px 0;
}

nav img {
height: inherit;
}

nav ul {
display: flex;
align-items: center;
}

nav li {
list-style: none;
}

nav a {
padding-left: 20px;
text-decoration: none;
}

header article {
height: calc(94vh - 20px);
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: url('./../images/landing.jpg');
background-size: cover;
color: var(--white);
}

header h1 {
font-size: 3em;
font-weight: normal;
text-align: center;
}

header p{
font-weight: 100;
text-align: center;
}

section {
display: flex;
flex-direction: column;
align-items: center;
height: 65vh;
justify-content: space-around;
}

.article {
width: 100vw;
height: 50vh;
display: flex;
justify-content: space-evenly;
align-items: center;
}

.title {
width: fit-content;
}

.title hr {
border: 2px solid var(--green);
border-radius: 0.5px;
}

.features {
width: 25vw;
}

.features img {
width: 20vw;
}

footer {
height: 80vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
}

.verde {
width: 90vw;
height: 70vh;
background-color: var(--green);
display: flex;
flex-direction: row;
justify-content: space-evenly;
background-image: url('./../images/spotify-icon-white.png');
background-size: 10vh auto;
background-repeat: no-repeat;
background-position: center center;
}

.verde article {
width: 35vw;
height: fit-content;
display: flex;
flex-direction: column;
font-size: 0.9em;
}
.verde aside {
width: 35vw;
height: 60vh;
}
footer img {
max-width: 20vw;
}