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
79 changes: 76 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,87 @@
<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
<header>
<div class="top-header">
<img class="image-logo" src="images/spotify-logo.png" alt="Spotify logo & name">
<nav class="navbar">
<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>
</div>

<main class="bottom-header">
<img src="images/landing.jpg" alt="background image">
<h1>Music for everyone.</h1>
<p>Spotify is now free on mobile, tablet and computer.</p>
<p>Listen to the right music, wherever you are.</p>
</main>
</header>

<section class="section-middle"> <!--section middle-->
<h3 class="heading-section-middle">What’s on Spotify?</h3>
<div class="articles-section-middle">
<article class="article-section-middle">
<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 class="article-section-middle">
<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 class="article-section-middle">
<img src="images/devices-icon.png" alt="device icon">
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet or computer</p>
</article>
</div>
</section>

<section class="section-green"> <!--section green-->
<div class="section-green-leftside">
<div class="heading-section-green">
<h3>It’s as yeezy as Kanye West.</h3>
</div>

<div class="articles-section-green">
<article class="article-section-green">
<h3>Search</h3>
<p>Know what you want to listen to? Just search and hit play.</p>
</article>
<article class="article-section-green">
<h3>Browse</h3>
<p>Check out the latest charts, brand new releases and great playlists for right now.</p>
<article class="article-section-green">
<h3>Discover</h3>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</article>
</div>
</div>
<div class="image-background">
<img src="images/spotify-icon-white.png" alt="Spotify logo">
</div>

<div class="image-app">
<img src="images/spotify-app.jpg" alt="artist page screenshot">
</div>
</section>


<!--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.
own personal playlist. Or sit back and enjoy Radio.-->
</body>
</html>
171 changes: 171 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,174 @@ Green: #00B172
White: #FFF

*/


body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
padding: 0;
font-weight: lighter;
color: #1A1A1A;
font-family: "Gotham", "Proxima Nova", "Montserrat", "Helvetica Neue", Arial, sans-serif;
}



.top-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2% 5%;
img{
width: 20%;
height: 20%;
}
.navbar{
width: 35%;
ul{
list-style: none;
display: flex;
flex-direction: row;
justify-content: space-between;
a{
text-decoration: none;
color: #1A1A1A;
}
}
}
}

/*Edit first image and the text on top*/
.bottom-header {
display:grid;
grid-template-areas: "a";
align-items: center;
justify-content: center;
img {
width: 100%;
height: auto;
}
img, h1, p {
grid-area: a;
display: grid;
justify-content: center;
}
h1, p {
color: white;
display: block;
margin: auto;
width: 50%;
text-align: center;
}
h1{
position: relative;
bottom: 50px;
}
p{
position: relative;
top:0px;
}
p:last-child{
position: relative;
top:20px;
}

}






.section-middle{
padding: 3% 0%;
.heading-section-middle{
text-align: center;
border-bottom: 3px solid #00B172;
padding-bottom: 4px;
font-weight: bold;
}
.articles-section-middle{
img{
width: 10px;
height: 10px;
}
display: flex;
flex-direction: row;
/*top bottom padding*/
.article-section-middle{
padding: 4%;
h3{
color:#00B172;
text-align: center;
padding-top: 4%;
padding-bottom: 4%;
font-weight: bold;
}
p{
text-align: center;
padding: 0% 20%;
}
img{
display: block;
margin: auto;
width: 35%;
height: 40%;
}

}
}
}










.section-green{
background-color: #00B172;
padding: 0% 5%;
border: 0% 50% solid white;
h3, p {
color: #fff;
}
h3{
font-weight: bold;
}
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
.section-green-leftside{
width: 100%;
.heading-section-green{
border-bottom: 2px solid white;
padding-bottom: 5px;
}
.articles-section-green{
width:70%;
.article-section-green h3{
margin: 5% 0%;
}
}
}
.image-background, .image-app{
justify-content: center;
}
.image-background img{
width: 30%;
height: 30%;

}
.image-app img{
width: 80%;
height: 80%;
}
}