Skip to content
Open

done #120

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
94 changes: 88 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,95 @@
<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 class="header">
<nav class="navbar">
<div class="logo">
<img src="images/spotify-logo.png" alt="Spotify Logo" />
</div>
<ul class="nav-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 class="body1" >
<div class="banner-card">
<img src="images/landing.jpg" alt="Spotify Background"/>
<div class="banner-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>
</div>
</div>
</header>


<div class="body-content">
<div class="header2">
<h2>What’s on Spotify?</h2>
</div>
<div class="content">
<div class="content-item1">
<div class="header3_1">
<div class="header3_1-image">
<img src="images/music-icon.png" alt="music-icon picture"/>
</div>
<h3>Millions of songs</h3>
</div>
<p>
There are millions of songs on Spotify
</p>
</div>
<div class="content-item2">
<div class="header3_2">
<div class="header3_2-image">
<img src="images/high-quality-icon.png" alt="high-quality-icon picture"/>
</div>
<h3>HD Music</h3>
</div>
<p>
Listen to music as if you were listening live
</p>
</div>
<div class="content-item3">
<div class="header3_3">
<div class="header3_3-image">
<img src="images/devices-icon.png" alt="devices-icon picture"/>
</div>
<h3>Stream Everywhere</h3>
</div>
<p>
Stream music on your smartphone, tablet or computer
</p>
</div>
</div>
</div>

<div class="body2">
<div class="body2-text">
<div class="body2-header">
<h2>It’s as yeezy as Kanye West.</h2>
</div>
<h3>Search</h3>
<p>Know what you want to listen to? Just search and hit play. </p>
<h3>Browse</h3>
<p>Check out the latest charts, brand new releases and great playlists for right now.</p>
<h3>Discover</h3>
<p>Enjoy new music every Monday with your own personal playlist. Or sit back and enjoy Radio.</p>
</div>
<div class="body2a-img">
<img src="images/spotify-icon-white.png" alt="spotify-icon-white picture"/>
</div>
<div class="body2b-img">
<img src="images/spotify-app.jpg" alt="spotify-app picture"/>
</div>
</div>
</body>
</html>
170 changes: 170 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,173 @@ Green: #00B172
White: #FFF

*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #FFF;
padding: 10px 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
display: flex;
justify-content: flex-end;
gap: 15px;
list-style-type: none;
font-size: large;
font-family: Arial, Helvetica, sans-serif;
}

.logo {
display: flex;
justify-content: flex-start;
width: 150px;
height: 50px;
}

.banner-card {
position: relative;
}

.banner-card img {
max-width: 100%;
height: auto;
}

.banner-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
text-align: center;
padding: 10px;
font-size: 1.7rem;
display:flex;
flex-direction: column;
gap: 20px;
font-weight: 100;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
width: 80%;
line-height: 1.5;
}

.content {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin: 20px 10px;
gap: 20px;
flex-wrap: wrap;
}

.content-item1, .content-item2, .content-item3 {
flex: 1 1 300px;
padding: 20px;
border-radius: 8px;
text-align: center;
font-size:larger;
flex-wrap: wrap;
}

.header3_1, .header3_2, .header3_3 {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
margin-bottom: 15px;
}

.header3_1-image img, .header3_2-image img, .header3_3-image img {
width: 60px;
height: 60px;
}

.header2 {
text-align: center;
margin: 20px 0;
text-decoration: underline;
text-decoration-color: mediumseagreen;
}

.body2 {
background-color:mediumseagreen;
padding: 20px 0;
}

.body2 {
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
margin: 20px 10px;
gap: 20px;
flex-wrap: wrap;
}
.body2-text {
display: flex;
flex-direction: column;
padding: 20px;
flex: 1 1 300px;
text-align:start;
color: #fff;
gap:inherit;
}

.body2-text p {
line-height: 2;
font-size: large;
}

.body2a-img img {
width: 150px;
height: 150px;
}

.body2b-img img {
width: 300px;
height: 450px;
}
.body2a-img {
flex: 1 1 150px;
display: flex;
justify-content: center;
align-items: center;
}

.body2b-img {
flex: 1 1 500px;
display: flex;
justify-content: center;
align-items: center;
}

.body2-header {
text-decoration: underline;
margin-bottom: 15px;
}

.header3_1 h3 {
color: mediumseagreen;
}

.header3_2 h3 {
color: mediumseagreen;
}

.header3_3 h3 {
color: mediumseagreen;
}

.body2-text h3 {
font-size: 1.5rem;
}