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

WD-PT-SEPT24-ES-Saira-Jerjes #3477

Open
wants to merge 2 commits 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
Binary file added font/Gotham-Black.otf
Binary file not shown.
Binary file added font/Gotham-BlackItalic.otf
Binary file not shown.
Binary file added font/Gotham-Bold.otf
Binary file not shown.
Binary file added font/Gotham-BoldItalic.otf
Binary file not shown.
Binary file added font/Gotham-Book.otf
Binary file not shown.
Binary file added font/Gotham-BookItalic.otf
Binary file not shown.
Binary file added font/Gotham-Light.otf
Binary file not shown.
Binary file added font/Gotham-LightItalic.otf
Binary file not shown.
Binary file added font/Gotham-Medium.otf
Binary file not shown.
Binary file added font/Gotham-MediumItalic.otf
Binary file not shown.
Binary file added font/Gotham-Thin.otf
Binary file not shown.
Binary file added font/Gotham-ThinItalic.otf
Binary file not shown.
Binary file added font/Gotham-Ultra.otf
Binary file not shown.
Binary file added font/Gotham-UltraItalic.otf
Binary file not shown.
Binary file added font/Gotham-XLight.otf
Binary file not shown.
Binary file added font/Gotham-XLightItalic.otf
Binary file not shown.
97 changes: 90 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,97 @@
<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="top-bar">
<img
src="../images/spotify-logo.png"
alt="spotify logo"
width="auto"
height="45px"
/>
<ul class="nav-bar">
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</nav>
</header>
<main>
<section class="banner">
<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>
</section>
<section class="features">
<h2 class="title-underline">What’s on Spotify?</h2>
<div class="feature-article">
<article>
<img src="../images/music-icon.png" alt="icon music" />
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify</p>
</article>
<article>
<img
src="../images/high-quality-icon.png"
alt="icon high quality music"
/>
<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>
<section class="kanye-ad">
<h2 class="underline">It’s as yeezy as Kanye West.</h2>
<div class="kanye-group">
<div class="kanye-group-articles">
<article>
<h3>Search</h3>
<p>Know what you want to listen to? Just search and hit play.</p>
</article>

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

<article>
<h3>Discover</h3>
<p>
Enjoy new music every Monday with your own personal playlist. Or
sit back and enjoy Radio.
</p>
</article>
</div>
<picture>
<img
id="logo"
src="../images/spotify-icon-white.png"
alt="logo in white"
/>
</picture>
<picture>
<img
id="app"
src="../images/spotify-app.jpg"
alt="app screenshot"
/>
</picture>
</div>
</section>
</main>
</body>
</html>
153 changes: 153 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,156 @@ Green: #00B172
White: #FFF

*/
/*
Colors:

Text: 1A1A1A
Green: #00B172
White: #FFF

*/

@font-face {
font-family: "Gotham-Medium", sans-serif;
src: url(../font/Gotham-Medium.otf);
font-weight: normal;
font-style: normal;
}

body {
font-family: "Gotham-Medium", sans-serif;
}

nav {
height: 50px;
width: 100%;
position: fixed;
top: 0;
background-color: #fff;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 1.3rem;
padding: 1rem;
}

.nav-bar {
display: flex;
flex-direction: row;
list-style: none;
justify-content: space-around;
}

.nav-bar li {
margin-right: 4rem;
}

main {
width: 100%;
margin-top: 50px;
}

.banner {
background-image: url("../images/landing.jpg");
background-size: cover;
background-position: center;
width: 100%;
min-width: 500px;
height: 500px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding-bottom: 20%;
}

.banner h1 {
color: #fff;
font-size: 3rem;
}

.banner p {
color: #fff;
font-family: "Gotham-XLight", sans-serif;
}

.features {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.feature-article {
display: flex;
width: 100%;
flex-direction: row;
justify-content: space-around;
font-size: 12px;
margin-top: 2em;
}

.feature-article img {
width: 50px;
height: 50px;
flex-direction: row;
align-items: center;
}

.feature-article article {
flex-basis: auto;
flex: 1;
flex-direction: column;
align-items: center;
min-width: 150px;
text-align: center;
}

.title-underline {
font-size: 1.3rem;
border-bottom: 3px solid #00b172;
}

.feature-article h3 {
color: #00b172;
}

.kanye-ad {
background-color: #00b172;
color: #fff;
padding: 50px;
}

.underline {
display: inline-block;
border-bottom: 3px solid #fff;
font-size: 1.5rem;
}

.kanye-group {
flex-grow: 1;
flex: 2;
background-color: #00b172;
display: flex;
flex-direction: row;
align-items: center;
align-content: center;
justify-content: space-around;
gap: 1rem;
}
.kanye-group-articles {
flex-grow: 1;
flex: 1;
display: flex;
flex-direction: column;
}

#logo {
width: 70px;
height: 70px;
}

#app {
height: 25rem;
}