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
103 changes: 96 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,103 @@
<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.
<nav id="navbar-container">
<img id="spotify-logo" src="images/spotify-logo.png">
<div id="nav-links">
<a href="#">Premium</a>
<a href="#">Discover</a>
<a href="#">Help</a>
<a href="#">Download</a>
</div>
</nav>
<div id="musicForEvry-container">
<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>
</div>
<div id="whatsOnSpotify">
<h2>What’s on Spotify?</h2>
<div id="watsOnSpot-container">
<!-- -->
<div class="whatsOn-rowElements">
<img src="images/music-icon.png">
<div class="whatsOn-text">
<p class="whatsOn-headers">Millions of Songs</p>
<p class="whatsOn-smallText">Ther are millions<br> of songs on Spotify</p>
</div>
</div>
<!-- -->
<div class="whatsOn-rowElements">
<img src="images/high-quality-icon.png">
<div class="whatsOn-text">
<p class="whatsOn-headers">HD Music</p>
<p class="whatsOn-smallText" >Listen to music as if you <br>
were listening live </p>
</div>
</div>
<!-- -->
<div class="whatsOn-rowElements">
<img src="images/devices-icon.png">
<div class="whatsOn-text">
<p class="whatsOn-headers">Stream Everywhere</p>
<p class="whatsOn-smallText">Stream music on your<br>
smartphone, tablet or<br>
computer</p>
</div>
</div>
</div>
</div>
</div>


<div id="footer-container">
<div id="footer-rows">
<div id="footer-element">

<div class="footer-element-text-container">
<p id="kanyeWest">
It’s as yeezy as Kanye West.</p>
<p class="footer-element-headers">
Search</p>
<p class="footer-element-text">
Know what you want to listen to?
<br>
Just search and hit play.</p>
</div>

<div class="footer-element-text-container">
<p class="footer-element-headers">
Browse</p>
<p class="footer-element-text">
Check out the latest charts,
<br>
brand new releases and great
<br>
playlists for right now.
</p>
</div>

<div class="footer-element-text-container">
<p class="footer-element-headers">
Discover</p>
<p class="footer-element-text">
Enjoy new music every Monday
<br>
with your own personal playlist.
<br>
Or sit back and enjoy Radio.
</p>
</div>
</div>
<img src="images/spotify-app.jpg">
</div>

</div>

</body>
</html>
171 changes: 165 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,167 @@
/*
Colors:
html{
margin: 0;
}
body{
font-size: 1vw;
font-family: sans-serif;
margin: 0;
padding: 0;
color: black;
}
p,h1,h2,h3{
margin: 0;
}


#navbar-container{
margin: 0;
padding: 1vw;
width: 100%;
background-color: antiquewhite;
position: fixed;
top: 0;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
}
#spotify-logo{
height: 3vw;
}
#nav-links{
display: flex;
flex-wrap: nowrap;
justify-content: space-evenly;
text-align: center;
padding-right: 2vw;
}
#nav-links a{
padding: 1vw;
text-decoration: none;
color: black;
}
#musicForEvry-container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
height: 50vw;
background-image:url('../images/landing.jpg') ;
background-size: cover;
background-position: center;
}
h1{
font-size: 5vw;
font-weight: 100;
padding-bottom: 2vw;
}
#musicForEvry-container p{
font-size: 1.5vw;
text-align: center;
word-spacing: 0.2vw;
line-height: 2vw;
}
#whatsOnSpotify{
display: flex;
flex-direction: column;
align-items: center;
margin: 3vw;
}
h2{
padding-bottom: 1vw;
margin-bottom: 1vw;
font-size: 2vw;
color: #00B172;
border-bottom: 0.3vw solid #00B172 ;
}
#watsOnSpot-container{
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
gap:15vw;
align-items: baseline;
padding-top: 3vw;
}
.whatsOn-rowElements{
display: flex;
flex-direction: column;
align-items: center;
}
#watsOnSpot-container img{
width: 8vw;
}
.whatsOn-headers{
font-size: 2vw;
font-weight: 600;
color: #00B172;
margin: 0;
padding: 1vw;
}
.whatsOn-text{
display: flex;
flex-direction: column;
align-items: center;
}
.whatsOn-smallText{
text-align: center;
font-size: 1.5vw;
color: grey;
margin: 0;
line-height: 2vw;
}
#footer-container{
margin: 0 7vw;
background-color: #00B172;
background-size: 10vw 10vw;
background-repeat: no-repeat;
background-position: center;
background-image: url('../images/spotify-icon-white.png');
}
#footer-rows{
display: flex;
flex-wrap: nowrap;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin: 0;
}
#footer-element{
color: white;
margin: 0;
display: flex;
flex-direction: column;
text-align: left;
align-content: space-around;
gap: 4vw;
padding: 4vw 0 4vw 4vw;

}
#kanyeWest{
font-size: 2vw;
color: white;
padding-bottom: 0.5vw;
border-bottom: 0.3vw solid white ;
}
.footer-element-text-container{
display: flex;
flex-direction: column;
align-content:space-between;
gap: 1vw;
}
.footer-element-headers{
font-size: 1.5vw;
padding-top: 1vw;
}
#footer-container img{
height: 30vw;
padding: 4vw 4vw 4vw 0;
}
.footer-element-text{
line-height: 1.5vw;
letter-spacing: 0.1vw;
}


Text: 1A1A1A
Green: #00B172
White: #FFF

*/