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
115 changes: 108 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,115 @@
<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.

<header>

<nav id="nav-bar">

<img src="/lab-css-spotify-clone/images/spotify-logo.png" alt="spotify-logo">

<ul class="nav-bar-ul">
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>

</nav>

<article class="landing">

<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 id="presentation">

<h2>What's on Spotify?</h2>

<div class="buttons">

<article>

<img src="images/music-icon.png" alt="music-icon">

<h3>Millions of Songs</h3>

<p>There are millions of songs on Spotify </p>

</article>

<article>

<img src="images/high-quality-icon.png" alt="high-quality-icon">

<h3>HD Music</h3>

<p>Listen to music as if you were listening live</p>

</article>

<article>

<img src="images/devices-icon.png" alt="devices-icon">

<h3>Stream Everywhere</h3>

<p>Stream music on your smartphone, tablet or computer</p>

</article>

</div>

</section>

<footer id="footer">

<div class="footer-info">
<div class="baseboard">

<h2 class="footer-title">It's as yeezy as Kanye West.</h2>
<section>

<article>

<h4>Search</h4>

<p>Know what you want to listen to? Just search and hit play.</p>

</article>

<article>

<h4>Browse</h4>

<p>Check out the latest charts, brand new releases and great playlists for right now.</p>

</article>

<article>

<h4>Discover</h4>

<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>

</article>

</section>
</div>

<img src="images/spotify-app.jpg" alt="spotify-app">

</div>

</footer>
</body>
</html>
166 changes: 166 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*
Colors:

Expand All @@ -6,3 +8,167 @@ Green: #00B172
White: #FFF

*/

* {
padding: 0;
margin: 0;
}

body {
font-family: "Montserrat", sans-serif;
font-optical-sizing: auto;
font-weight: weight;
font-style: normal;
}

ul {
list-style: none;
}

h1 {
font-size: 3em;
text-align: center;
color: white;
padding-top: 130px;
padding-bottom: 25px;
}

h2 {
width: 240px;
margin: 0 auto;
padding-top: 25px;
font-size: 1.5em;
text-align: center;
color: black;
border-bottom: 4px solid #00B172;
line-height: 35px;
}

h3 {
font-size: 1.2em;
text-align: center;
line-height: 1em;
color: #00B172;
padding-bottom: 20px;
}

h4 {
font-size: 1.2em;
letter-spacing: 0.4px;
line-height: 1em;
margin-bottom: 15px;
color: white;
}

#nav-bar {
display: flex;
}

#nav-bar img{
margin: 10px 20px;
width: 150px;
}

.nav-bar-ul{
display: flex;
width:400px;
margin: 0 auto;
justify-content: space-evenly;
align-items: center;
margin-right: 10px;
}

header .landing {
background-image: url(/lab-css-spotify-clone/images/landing.jpg);
background-position: 0 0;
background-repeat: no-repeat;
background-size: cover;
height: 650px;
padding-top: 50px;
}

.landing p{
color: rgba(255, 255, 255, 0.834);
text-align: center;
font-size: 1.1em;
}

#presentation .buttons {
display: flex;
width: 100%;
padding-top: 30px;
padding-bottom: 50px;
justify-content: space-evenly;
align-items: flex-start;
text-align: center;
gap: 40px;
}

#presentation p{
color: rgba(0, 0, 0, 0.436);
}

#presentation img {
width: 100px;
height: 100px;

}

.buttons article{
width: 200px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

footer{
display: flex;
background: #00B172 url(/lab-css-spotify-clone/images/spotify-icon-white.png) center/100px no-repeat;
margin: 20px;
color: white;
}

#footer .footer-title {
padding-top: 50px;
width: 350px;
color: white;
border-bottom: 3px solid white;
}

#footer .baseboard {
display: flex;
justify-content: space-between;
flex-direction: column;
width: 250px;
padding: 0 0 60px 60px;
align-items: center;
}

.footer-info{
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}

#footer h2{
margin-bottom: 30px;
}

#footer h4 {
padding-bottom: 20px;
padding-top: 30px;
text-align: left;
}

#footer .white-logo{
width: 100px;
}

#footer .footer-info img {
width: 250px;
height: auto;
object-fit: cover;
padding: 80px;
}