Skip to content

done #3560

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

done #3560

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
78 changes: 72 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,79 @@
<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">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">

<!-- Iteration 1: Navbar -->
</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 class="top-bar">
<div class="logo">
<img src="images/spotify-logo.png" alt="logo">
</div>


<div class="menu">
<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>
</div>
</header>

<!--Iteration 2: Large image background with text-->
<section class="background-image">
<h1>Music for everyone.</h1>
<h4>Spotify is now free on mobile, tablet and computer.
<br>
Listen to the right music, wherever you are.</h4>

</section>

<!--Iteration 3: What is on Spotify section-->
<section>

</section class="container">
<h2> What’s on Spotify?</h2>
<div class="features-container">
<div class="feature-box">
<img src="images/music-icon.png" alt="music">
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</div>

<div class="feature-box">
<img src="images/high-quality-icon.png" alt="quality">
<h3>HD Music</h3>
<p>Listen to music as if you were listening live</p>
</div>


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

<!--Iteration 4: The green section-->
<section class="green">
<h1><u>It’s as yeezy as Kanye West.</u></h1>
<ul>
<li> <em>Search</em></li>
<li>Know what you want to listen to? Just search and hit play.</li>
<li> <em>Browse</em></li>
<li>Check out the latest charts, brand new releases and great playlists for right now.</li>
<li><em>Discover</em></li>
<li>Enjoy new music every Monday with your
own personal playlist. Or sit back and enjoy Radio.</li>
</ul>
<img src="images/spotify-icon-white.png" alt="iconwhite" class="iconwhite">
<img src="images/spotify-app.jpg" alt="app" class="imgapp">
</section>
</body>
</html>
163 changes: 163 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,166 @@ Green: #00B172
White: #FFF

*/
.top-bar{
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: white;
}
.logo img {
height: 40px;
}

.menu ul {
display: flex;
list-style: none;
gap: 20px;
margin: 0;
padding: 0;
}
.menu li {
display: inline;
}
.menu a {
text-decoration: none;
color: 1A1A1A;
font-size: 20px;
}
.background-image{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
background-image:url(../images/landing.jpg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;


}
.background-image h1{
color: white;
text-align: center;
padding: 2rem;
font-size: 60px;
font-family: 'Montserrat', sans-serif;
}
.background-image h4{
color: white;
text-align: center;
padding: 1rem;
font-size: 20px;
font-family: 'Montserrat', sans-serif;
font-weight: lighter;
top: auto;
}

.background-image{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-size: cover;
background-position: center;
background-repeat: no-repeat;

}
.container {
display: flex;
font-family: 'Montserrat', sans-serif;
text-align: center;
font-size: 20px;
background-color: white;
}
h2{
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-family:'Montserrat', sans-serif;
font-size: 30px;
}
.features-container {
display: flex;
justify-content: center;
gap: 30px;
margin: 30px auto;
max-width: 1000px;
}

.feature-box {
border: none;
padding: 20px;
text-align: center;
width: 250px;
box-sizing: border-box;
}

.feature-box img {
width: 50px;
height: 50px;
margin-bottom: 15px;
}

.feature-box h3 {
color: #00B172;
margin-bottom: 10px;
font-size: 1.3em;
font-family: 'Montserrat', sans-serif;
}

.feature-box p {
color: #555;
font-size: 0.95em;
font-family: 'Montserrat', sans-serif;
}
.green{
background-color: #00B172;
color: #FFF;
padding: 50px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 50px;
flex-wrap: wrap;


}
.green h1{
font-family: 'Montserrat', sans-serif;
color: #FFF;
font-size: 2em;
font-weight: bold;
flex-basis: 100%;
}
.green ul{
list-style: none;
padding: 0;
max-width: 400px;
}
.green ul li {
margin-bottom: 10px;
font-size: 1em;
font-family: 'Montserrat', sans-serif;
}
.green ul li em {
font-style: normal;
font-weight: bold;
font-size: 1.1em;
display: block;
margin-top: 20px;
}

.iconwhite {
width: 60px;
margin-top: 20px;
}

.imgapp{
max-width: 250px;
border-radius: 10px;
box-shadow: 0 5px 20px rgba(0,0,0,0.3);;

}