Skip to content

Finished lab #3538

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
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 .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
86 changes: 70 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,72 @@
<!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" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" />
<title>Spotify Clone</title>
<link rel="stylesheet" href="./styles/style.css" />
</head>

<body>

<nav>
<img src="./images/spotify-logo.png" alt="Spotify Logo" />
<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>
</nav>

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

<section class="content">
<h2>What’s on Spotify?</h2>
<div class="grid">
<div class="grid-item">
<img src="./images/high-quality-icon.png" class="grid-img" alt="Spotify Music-Icon" />
<h3>Millions of Songs</h3>
<p>There are millions of songs on Spotify.</p>
</div>
<div class="grid-item">
<img src="./images/music-icon.png" class="grid-img" alt="Spotify high-quality-icon" />
<h3>HD Music</h3>
<p>Listen to music as if you were listening live.</p>
</div>
<div class="grid-item">
<img src="./images/devices-icon.png" class="grid-img" alt="Spotify Stream Everywhere" />
<h3>Stream Everywhere</h3>
<p>Stream music on your smartphone, tablet, or computer.</p>
</div>
</div>
</section>

<section class="container">
<div class="container-text">
<h3>It’s as yeezy as Kanye West.</h3>
<hr />
<h2>Search</h2>
<p>Know what you want to listen to? Just search and hit play.</p>
<h2>Browse</h2>
<p>Check out the latest charts, brand new releases and great playlists for right now.</p>
<h2>Discover</h2>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</div>
<div class="container-img">
<img src="./images/spotify-icon-white.png" class="spotify-logo" alt="Spotify White logo" />
</div>
<div class="container-img">
<img src="./images/spotify-app.jpg" class="Kanye-img" alt="Spotify App page" />
</div>
</section>
</body>

</html>
172 changes: 172 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,175 @@ Green: #00B172
White: #FFF

*/
html {
margin: 0;
padding: 0;
font-size: 16px;
}

body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #FFF;
color: #1A1A1A;
}

/* Navigation */

nav {
display:flex;
align-items: center;
width: 100%;
height: 100px;
background-color: #FFF;
}


nav ul {
display: flex;
align-items: center;
list-style-type: none;
margin-left: auto;
}

nav ul li a {
text-decoration: none;
color: #1A1A1A;
font-size: 1.2em;
margin: 0 30px;
}

nav ul li a:hover {
color: #00B172;
}

nav img {
width: 200px;
height: 60px;
align-items: center;
padding: 0 0 0 40px ;
}

/* Header */

.header {
display: flex;
flex-direction: column;
background-image: url('../images/landing.jpg');
background-size: cover;
background-repeat: no-repeat;
width: 100%;
height: 100vh;
}

.header h1 {
font-size: 4em;
text-align: center;
padding-top: 200px;
color: #FFF;
font-weight: 500;
text-shadow: 2px 2px 4px #6c6767;
letter-spacing: 1.6;
}

.header p {
font-size: 20px;
font-weight: 300;
text-align: center;
color: #FFF;
}

/* Grid */

.content h2 {
text-align: center;
font-size: 2em;
padding-top: 40px;
color: #1A1A1A;
}

.grid {
display: grid;
grid-auto-flow: column;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20px;
padding: 60px;
}

.grid-item{
background-color: #FFF;
border-radius: 15px;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
padding: 20px;
text-align: center;
}

.grid-item h3 {
font-size: 1.5em;
color:#00B172;
}

.grid img {
width: 40%;
height: auto;
}

/* Container */

.container {
background-color:#00B172;
display: grid;
grid-auto-flow: column;
grid-template-columns: 1.4fr repeat(2, 1fr);
grid-gap: 10px;
padding: 30px 60px;
}

.container h3 {
width: 100%;
text-align: center;
font-size: 1.8em;
font-weight: 500;
word-spacing: 1.6;
color: #FFF;
}

.container h2 {
color:#FFF;
font-weight: 500;
}

.container p {
color: #FFF;
font-weight: 300;
letter-spacing: 1.8;
word-spacing: 1.6;
padding-top: 5px;
width: 80%;
}

hr {
border: 0;
height: 3px;
background: #FFF;
}

.container-img {
display: flex;
justify-content: center;
align-items: center;
}

.Kanye-img{
width: 300px;
height: auto;
box-shadow: 10px 10px 20px #6c6767;;
}

.spotify-logo {
width: 120px;
height: auto;
justify-content: center;
align-items: center;
}