Skip to content
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

Looks same :D #3501

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
66 changes: 58 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,65 @@
<meta charset="UTF-8" />
<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 -->
<title>Music App</title>
<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>
<img src="images/spotify-logo.png">
<ul>
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</nav>
<header class="main-banner">
<div>
<h1>Music for everyone.</h1>
<h2>Spotify is now free on mobile, tablet, and computer.<br> Listen to the right music, wherever you are.</h2>
</div>
</header>
<h3>What’s on Spotify?</h3>
<div class="info-sections">
<div class="info-box">
<img src="images/music-icon.png" alt="music-icon">
<h4>Millions of Songs</h4>
<p>There are millions of songs on Spotify.</p>
</div>
<div class="info-box">
<img src="images/high-quality-icon.png" alt="high-quality-icon">
<h4>HD Music</h4>
<p>Listen to music as if you were listening live.</p>
</div>
<div class="info-box">
<img src="images/devices-icon.png" alt="devices-icon">
<h4>Stream Everywhere</h4>
<p>Stream music on your smartphone, tablet, or computer.</p>
</div>
</div>
<div class="highlight-section">
<div class="highlight-content">
<h3>It’s as yeezy as Kanye West.</h3>
<div class="highlight-text">
<div class="feature-list">
<div class="feature-item">
<h4>Search</h4>
<p>Know what you want to listen to? Just search and hit play.</p>
</div>
<div class="feature-item">
<h4>Browse</h4>
<p>Check out the latest charts, brand new releases, and great playlists for right now.</p>
</div>
<div class="feature-item">
<h4>Discover</h4>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy the Radio.</p>
</div>
</div>
<img class="icon-light" src="images/spotify-icon-white.png" alt="spotify-icon-white">
</div>
</div>
<img class="app-preview" src="images/spotify-app.jpg" alt="app-preview">
</div>
</body>
</html>
176 changes: 170 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,172 @@
/*
Colors:
* {
margin: 0;
padding: 0;
}

Text: 1A1A1A
Green: #00B172
White: #FFF
body {
background-color: #FFF;
font-family: sans-serif;
font-size: 14px;
}

h1 {
font-size: 72px;
color: #FFF;
text-align: center;
margin-bottom: 30px;
}

h2 {
font-size: 24px;
font-weight: 300;
color: #FFF;
text-align: center;
}

h3 {
font-size: 32px;
text-align: center;
text-decoration: solid underline #00B172 3px;
text-underline-offset: 15px;
padding: 5%;
}

h4 {
font-size: 24px;
}

p {
font-size: 20px;
font-weight: 300;
}

nav {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
padding: 20px;
background-color: #FFF;
}

nav img {
max-width: 150px;
height: auto;
}

nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
gap: 25px;
}

nav ul li {
color: #1A1A1A;
cursor: pointer;
font-size: 16px;
font-weight: 100;
}

.main-banner {
background-image: url('../images/landing.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
height: 90vh;
display: flex;
align-items: center;
justify-content: center;
}

.info-sections {
display: flex;
align-items: stretch;
padding: 5%;
gap: 5%;
}

.info-box {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
gap: 20px;
color: #00B172;
}

.info-box img {
max-width: 120px;
height: auto;
}

.info-box p {
color: #1A1A1A;
}

.highlight-section {
background-color: #00B172;
color: #FFF;
display: flex;
flex-direction: row;
padding: 80px;
margin-left: 20px;
margin-right: 20px;
align-items: center;
gap: 60px;
}

.highlight-section img.app-preview {
max-width: 500px;
height: auto;
}

.highlight-section img.icon-light {
max-width: 120px;
height: 120px;
}

.highlight-section h3 {
text-decoration: solid underline #fff 3px;
text-align: left;
padding: 0;
}

.highlight-section p {
font-size: 18px;
font-weight: 300;
line-height: 32px;
}

.highlight-content {
display: flex;
flex-direction: column;
gap: 60px;
}

.highlight-text {
display: flex;
flex-direction: row;
align-items: center;
gap: 150px;
}

.feature-list {
display: flex;
flex-direction: column;
gap: 45px;
}

.feature-item {
flex: 1;
display: flex;
flex-direction: column;
gap: 25px;
text-align: left;
font-size: 16px;
color: #FFF;
}

*/