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

Lab 2 #3482

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Lab 2 #3482

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 images/spotify-prototype.pdf
Binary file not shown.
120 changes: 104 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,106 @@
<!DOCTYPE html>
<html lang="en">
<head>
<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 -->
</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.
</body>
</html>

<head>
<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>
<link rel="stylesheet" href="styles/style.css">
<!-- don't forget to link your styles -->
</head>

<body>
<!-- nav start -->
<nav class="navbar">
<a href="#" class="logo"><img src="images/spotify-logo.png" alt=""></a>
<ul>
<li><a href="#">Premuim</a></li>
<li><a href="#">Discover</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Download</a></li>
</ul>
</nav>
<!-- nav end -->
<!-- header start -->
<header class="header">
<div class="header-text">
<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>
</div>
</header>
<!-- header end -->

<!-- main start -->
<main>
<!-- about section start -->
<section class="about">
<div class="about-header">
<h2>What's on Spotify?</h2>
<hr>
</div>
<div class="about-content">
<div>
<img src="images/music-icon.png" alt="">
<div>
<h3>Million of Songs</h3>
<p>There are millions of <br> songs on Spotify</p>
</div>
</div>
<div>
<img src="images/high-quality-icon.png" alt="">
<div>
<h3>HD Music</h3>
<p>Listen to music as if you <br> were listening live</p>
</div>
</div>
<div>
<img src="images/devices-icon.png" alt="">
<div>
<h3>Stream Everywhere</h3>
<p>Stream music on your <br> smartphone, tablet or <br> computer</p>
</div>
</div>
</div>
</section>
<!-- about section end -->

<!-- features section start -->
<section id="features-section" class="container">
<div class="features-section-content">
<div class="features-section-text">
<h2>It's as yeezy as Kanye West. </h2>
<hr>
<div>
<h3>Search</h3>
<p>Know what you want to listen to? <br>
Just search and hit play.</p>
</div>
<div>
<h3>Browse</h3>
<p>Check out the latest charts, <br>
brand new release and great <br>
playlists for right now.</p>
</div>
<div>
<h3>Discover</h3>
<p>Enjoy new music every monday <br>
with your own personal playlist. <br>
Or sit back and enjoy Radio.</p>
</div>
</div>
<div class="spotify-icon">
<img src="images/spotify-icon-white.png" alt="">
</div>
<div class="spotify-app">
<img src="images/spotify-app.jpg" alt="">
</div>
</div>
</section>
<!-- features section end -->
</main>
<!-- main end -->
</body>

</html>
166 changes: 160 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,162 @@
/*
Colors:
body {
margin: 0%;
padding: 0%;
}

Text: 1A1A1A
Green: #00B172
White: #FFF
.navbar {
padding: 50px;
display: flex;
justify-content: space-between;
align-items: center;
height: 50px;
}

*/
.navbar a {
color: black;
text-decoration: none;
display: block;
font-weight: 500;
font-size: 20px;
}

.navbar ul li {
list-style-type: none;
display: inline-block;
margin-right: 20px;
}

.navbar ul li a {
font-size: 30px;
}

.navbar img {
height: 100px;
margin-right: 20px;
}

/* header start */

.header {
background-image: url(../images/landing.jpg);
padding: 450px 0px;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}

.header-text {
color: white;
text-align: center;
}

.header-text h1 {
font-size: 100px;
font-weight: 900;
}

.header-text p {
font-size: 35px;
}

/* header end */

/* about section start */

.about {
text-align: center;
}

.about h2 {
font-size: 50px;
font-weight: 900;
margin: 0px;
}

.about-header {
padding: 50px 0px;
}

.about-header hr {
width: 400px;
height: 5px;
background-color: #13b36b;
border: none;
}

.about-content {
padding-top: 30px;
display: flex;
justify-content: space-around;
color: #000;
}

.about-content h3 {
color: #13b36b;
font-weight: 900;
font-size: 40px;
}

.about-content p {
font-size: 30px;
color: #191919a4;
}

.about img {
width: 100px;
}

/* about section end */

/* features section start */

.container {
background-color: #13b36b;
padding: 50px 0px;
margin: 30px 50px;
}

.features-section-content {
display: flex;
align-items: center;
justify-content: space-evenly;
}

.container h2 {
color: white;
text-align: center;
margin: 0px;
font-size: 50px;
}

.features-section-text hr {
width: 600px;
height: 5px;
background-color: white;
border: none;
}

.features-section-text {
color: white;
}

.features-section-text h3 {
color: white;
font-weight: 900;
font-size: 40px;
}

.features-section-text p {
font-size: 30px;
}

.spotify-icon img {
width: 200px;
margin-right: 40px;
}

.spotify-app img {
width: 400px;
height: auto;
}

/* features section end */