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

WDPT0924 Miriam Collado #3476

Open
wants to merge 3 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
80 changes: 74 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,82 @@
<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>
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>
<div>
<div>
<img class= "spotify-logo" src="images\spotify-logo.png" alt="spotify-logo">
</div>
<div>
<nav>
<ul class="top-links">
<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>
</div>
</div>
</header>
<div class="container">
<div class="text-container">
<h1 class="title">Music for everyone</h1>
<p class="p1">Spotify is now free on mobile, tablet and computer.</p>
<p class="p2">Listen to the right music, wherever you are.</p>
</div>
<img class= "landing" src="images\landing.jpg" alt="landing">
</div>
<section class="section1">
<div>
<h1>What’s on Spotify?</h1>
</div>
<div class="sectiontext">
<div class="box1">
<img class="music-icon" src="images\music-icon.png" alt="music-icon">
<h2>Millions of Songs</h2>
<p>There are milliongs of songs on Spotify</p>
</div>
<div>
<img class="music-icon" src="images\high-quality-icon.png" alt="high-quality-icon">
<h2>HD Music</h2>
<p>Listen to music as if you were listening live</p>
</div>
<div>
<img class="music-icon" src="images\devices-icon.png" alt="devices-icon">
<h2>Stream Everywhere</h2>
<p>Stream music on your smartphone, tablet or computer</p>
</div>
</div>
</section>
<section class="section2">
<div class="kanye-text">
<h1>It’s as yeezy as Kanye West.</h1>
<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>
<img class="spotify-icon-white" src="images\spotify-icon-white.png" alt="spotify-icon-white">
</div>
<div>
<img class="spotify-app" src="images\spotify-app.jpg" alt="spotify-app">
</div>
</section>
</body>
</html>







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

*/
body {
font-family: Arial, Helvetica, sans-serif;
}
header > div {
height: 80px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 25px;
}
.spotify-logo {
height: 80px;
}
nav {
width: 600px;
height: 80px;
}
nav ul {
display: flex;
align-items: center;
justify-content: space-between;
list-style: none;}
.landing {
max-width: 100%;
}
.container {
background-color: blue;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
}
.text-container {
position: absolute;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #FFF;
text-align: center;
}
.title {
font-size: 50px;
}
.section1 {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
height: 600px;
}
.sectiontext {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
text-align: center;
width: 80%;
}
.music-icon {
height: 120px;
}
.section1 h1 {
text-decoration: underline;
text-decoration-color: #00B172;
font-size: 250%;
}
.sectiontext h2 {
color: #00B172;
}
.sectiontext p {
color: #FFF;
}
.section2 {
display: flex;
flex-direction: row;
justify-content: space-around;
background-color: #00B172;
height: 750px;
align-content: center;
align-items: center;
color: #FFF;
position: relative;
margin: 20px;
}
.spotify-icon-white {
height: 150px;
position: absolute;
top: 50%;
bottom: 50%;
transform: translate(-50%, -50%);
}
.spotify-app {
height: 600px;
}
.section2 h1 {
text-decoration: underline;
font-stretch: expanded;
}
.section2 p {
max-width: 310px;
}
.kanye-text {
display: flex;
flex-direction: column;
justify-content: space-between;
font-size: 130%;
}