Skip to content

done #12

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 #12

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
86 changes: 79 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,86 @@
<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 class="nav-bar container">
<img src="/spotify-logo.png" alt="spotify-logo" class="spoty-img" />
<ul class="container gap-5">
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</nav>
<header class="background container-v">
<h1>Music for everyone.</h1>
<h2>
<p>Spotify is now free on mobile, tablet and computer.</p>
<p class="t-center">Listen to the right music, wherever you are.</p>
</h2>
</header>
<section>
<h3 class="container3">What’s on Spotify?</h3>
<article>
<ul class="container4">
<li class="box">
<img
src="./images/music-icon.png"
alt="music-icon"
class="logo-music"
/>
<h4>Millions of Songs</h4>
<p class="text2">There are millions of songs on Spotify</p>
</li>
<li class="box">
<img
src="./images/high-quality-icon.png"
alt="high-quality-icon"
class="quality-icon"
/>
<h4>HD Music</h4>
<p class="text2">Listen to music as if you were listening live</p>
</li>
<li class="box">
<img
src="./images/devices-icon.png"
alt="devices-icon"
class="device-icon"
/>
<h4>Stream Everywhere</h4>
<p class="text2">
Stream music on your smartphone, tablet or computer
</p>
</li>
</ul>
</article>
</section>
<section class="container5 background2">
<article>
<p class="text3">It’s as yeezy as Kanye West.</p>
<div class="container6 box2">
<div>
<h5>Search</h5>
<p>Know what you want to listen to? Just search and hit play.</p>
</div>
<div>
<h5>Browse</h5>
<p>
Check out the latest charts, brand new releases and great
playlists for right now.
</p>
</div>
<div>
<h5>Discover</h5>
<p>
Enjoy new music every Monday with your own personal playlist. Or
sit back and enjoy Radio.
</p>
</div>
</div>
</article>
<img src="./images/spotify-app.jpg" alt="spoty-app" class="app-img" />
</section>
</body>
</html>
165 changes: 159 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,161 @@
/*
Colors:
*,
html,
body {
margin: 0;
padding: 0;
box-sizing: border-box;
list-style-type: none;
font-family: "Times New Roman", Times, serif;
}

Text: 1A1A1A
Green: #00B172
White: #FFF
.nav-bar {
position: fixed;
width: 100vw;
}
.container {
display: flex;
background-color: white;
justify-content: space-around;
align-items: center;
}
.gap-5 {
gap: 20px;
}
.spoty-img {
width: 200px;
}
.section1 {
padding: 100px;
}
.background {
background-image: url(/landing.jpg);
background-size: cover;
background-position: 0 0;
color: white;
height: 1000px;
padding-top: 80px;
margin-left: 90px;
margin-right: 90px;
}
.container-v {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 40px;
}
h2 {
margin-top: 20px;
font-size: 25px;
font-weight: normal;
}
.t-center {
text-align: center;
}
.container3 {
display: flex;
flex-direction: column;
font-size: 2em;
align-items: center;
padding: 50px;
}
.container4 {
display: flex;
margin-bottom: 40px;
justify-content: space-evenly;
margin-left: 90px;
margin-right: 90px;
}
.box {
display: flex;
flex-direction: column;
align-content: center;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
line-height: 20px;
font-size: 1.25em;
width: 200px;
height: 200px;
}
.text2 {
display: flex;
text-align: center;
}
h4 {
display: flex;
margin-bottom: 10px;
color: green;
}
.logo-music {
display: flex;
width: 100px;
height: 80px;
}
.quality-icon {
display: flex;
width: 100px;
height: 80px;
}
.device-icon {
display: flex;
width: 100px;
height: 80px;
}
.container5 {
display: flex;
background-color: rgb(76, 146, 76);
margin-left: 100px;
margin-right: 100px;
color: white;
justify-content: space-evenly;
}
.app-img {
display: flex;
margin-top: 50px;
margin-bottom: 50px;
width: 420px;
height: 800px;
}
.text3 {
display: flex;
font-size: 2em;
text-decoration: underline;
margin-top: 40px;
margin-bottom: 20px;
}
.container6 {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.box2 {
display: flex;
flex-direction: column;
align-content: center;
justify-content: space-between;
flex-wrap: nowrap;
line-height: 20px;
font-size: 1.25em;
width: 200px;
height: 500px;
}

*/
.background2 {
background-image: url(/spotify-icon-white.png);
background-repeat: no-repeat;
background-size: 100px;
background-position: center;
}

.container6 div h5 {
font-size: 2em;
margin-bottom: 20px;
margin-top: 50px;
letter-spacing: 1px;
line-height: 1.4;
}

.container div p {
font-size: 1em;
}