Skip to content

spotify clone enes #3581

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
98 changes: 82 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,84 @@
<!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" />
<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>
<nav class="nav-bar">
<img class="navbar-img" src="./images/spotify-logo.png" alt="spotify logo">
<ul class="nav-bar-ul">
<li><a href="#premium">Premium</a></li>
<li><a href="#discover">Discover</a></li>
<li><a href="#help">Help</a></li>
<li><a href="#download">Download</a></li>
</ul>

</nav>

<header class="header">
<h1>Music for everyone.</h1>
<h3>Spotify is now free on mobile, tablet and computer.</h3>
<h3>Listen to the right music, wherever you are.</h3>
</header>

<section class="explanation">
<h3>What's on Spotfiy?</h3>
<hr>

<div class="flex-center">
<article class="container">
<img class="iconImg" src="./images/music-icon.png" alt="sound icon">
<h3>Millions of Songs</h3>
<p class="text">There are millions of songs on Spotify</p>
</article>

<article class="container">
<img class="iconImg" src="./images/high-quality-icon.png" alt="sound waves">
<h3>HD Music</h3>
<p class="text">Listen to music if you were listening live</p>
</article>

<article class="container">
<img class="iconImg" src="./images/devices-icon.png" alt="smart devices">
<h3>Stream Everywhere</h3>
<p class="text">Stream music on your smartphone, tablet or computer</p>
</article>
</div>
</section>

<section class="last-part">
<h2>It's as yeezy as Kayne West.</h2>
<hr>
<article>
<h3>Search</h3>
<h5>Know what you want to listen to?</h5>
<h5>Just search and hit play.</h5>
<br>
<h3>Browse</h3>
<h5>Check out the latest charts,
brand new releases and great
playlists for right now.</h5>
<br>
<h3>Discover</h3>
<h5>Enjoy new music every Monday
with your own personal playlist.
Or sit back and enjoy Radio.</h5>
</article>
<img src="./images/spotify-icon-white.png" alt="spotify icon white">
</section>
<aside>
<img src="./images/spotify-app.jpg" alt="spotify-app">
</aside>



</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

*/

html,
body {
margin: 0;
padding: 0;
}

@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:700|Roboto:100,300,700');

body {
font-family: Roboto, sans-serif;
font-size: 16px;

line-height: 1.5;
font-weight: 300;
background-color: #FFF;
}

h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Roboto Condensed', sans-serif;
}

.nav-bar {
display: flex;
align-items: center;
padding: 0 30px;
color: #1A1A1A ;
text-decoration: none;
font-size: 1em;
}

.nav-bar a {
color: rgb(0, 0, 0);
text-decoration: none;
font-size: 1em;
}

.nav-bar-ul {
margin-left: auto;
list-style: none;
display: flex;
gap: 40px;
padding: 0;
}

.navbar-img {
height: 50px;

}

.header {
width: 100vw;
height: 800px;
background-image: url(../images/landing.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;

display: flex;
flex-direction: column;
justify-content: center;
align-items: center;

color: #fff;
text-align: center;
margin: 0;
/* wichtig */
padding: 0 20px;
box-sizing: border-box;
}

.header h1 {
font-size: 3.5em;
font-weight: 700;
margin-bottom: 20px;
}

.header h3 {
font-size: 1.5em;
font-weight: 300;
margin: 5px 0;
}
.explanation{
color:#1A1A1A;
text-align: center;
font-weight: bold;
font-size: 23px;
}
.explanation hr {
border-top: solid #00B172;
width: 260px;
margin: 20px auto;
}
.container{
width: 200px;
text-align: center;
margin: 0 10px;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
.container h3{
color: #00B172;
text-align: center;
line-height: 1.5em;
margin-bottom: 15px;
white-space: nowrap;
}
.text{
font-size: 1em;
font-weight: 100;
text-align: center;
margin: 20px 0;
}
.iconImg{
height: 85px;
width: auto;
padding-top: 50px;
}

main {
margin: 20px 0;
padding: 10px;
}

.flex-center {
display: flex;
justify-content: space-evenly;
align-items: flex-start;
gap: 30px;}

main div {
padding: 15px;
max-width: 125px;
margin: 5px;
}
.last-part{
background-color: #00B172;
margin: 50px;

}

.last-part h2{
color: #fff;
padding-left: 260px;
line-height: 1.5em;
margin-bottom: 15px;
white-space: nowrap;
font-size: 2em;
padding-top: 60px;
}


.last-part h3{
padding-top: 15px;
font-size: 1.5em;
margin-left: 250px;

color: #FFF;
}
.last-part h5{
margin-left: 250px;
color: #FFF;
}
.last-part hr{
width: 450px;
margin-left: 250px;
border-top: 4px solid#FFF;
}

.last-part img{
width: 150px;
margin: 0 auto;
display: block;
position: relative;
top: -270px;

}

aside img{
width: 300px;
display: block;
margin: 0 auto;
position: absolute;
left: 1200px;
bottom: -1100px;

}