Skip to content
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
73 changes: 66 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,73 @@
<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 class="header">
<img src="../images/spotify-logo.png" alt="Spotify Logo" class="logo" />

<nav class="nav">
<ul>
<li><a href="#">Premium</a></li>
<li><a href="#">Discover</a></li>
<li><a href="#">Help</a></li>
<li><a href="#" class="download-btn">Download</a></li>
</ul>
</nav>
</header>

<section class="hero-image">
<h1 class="hero-title">Music for everyone.</h1>
<p class="hero-paragraph">Spotify is now free on mobile, tabet and computer.
Listen to the rigth music , wherever you are.
</p>
</section>

<section class="content-section">
<h2>What's on Spotify?</h2>

<div class="content-cards">
<div class="card">
<img src="./images/music-icon.png" alt="Music Icon" />
<h3 class="card-title">Milions of Songs</h3>
<p class="card-paragraph">There are milion of songs on Spotify</p>
</div>

<div class="card">
<img src="./images/high-quality-icon.png" alt="High Quality Icon" />
<h3 class="card-title">HD Music</h3>
<p class="card-paragraph">Listen to music as if you were listening live</p>
</div>

<div class="card">
<img src="./images/devices-icon.png" alt="Devices Icon" />
<h3 class="card-title">Stream Everywhere</h3>
<p class="card-paragraph">Steam music on your smartphone, tablet or computer</p>
</div>
</div>
</section>

<section class="final-section">
<div class="final-text">
<h2>It's as yeezy as Kanye West.</h2>
<h3>Search</h3>
<p>Know what you want to listen to?
Just search and hit play.</p>
<h3>Browser</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>
<img src="../images/spotify-icon-white.png" alt="Spotify Icon" class="icon-spotify" />
</div>
<div class="final-image">
<img src="../images/spotify-app.jpg" alt="Yeezy Kanye West" />
</div>
</section>

</body>
</html>
146 changes: 140 additions & 6 deletions styles/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,142 @@
/*
Colors:
body {
font-family: Arial, sans-serif;
color: #1A1A1A;
margin: 0;
padding: 0;
}

Text: 1A1A1A
Green: #00B172
White: #FFF
/* header and navigation */
.header {
background-color: #FFF;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: space-between;
position: fixed;
top: 0;
left: 0;
width: 100%;
}

*/
.nav {
margin-right: 50px;
}

.logo{
width: 120px;
height: auto;
margin: 20px;
}


.nav ul {
list-style: none;
padding: 20px;
display: flex;
/* justify-content: space-between; */
gap: 30px;
}

.nav ul li a{
text-decoration: none;
color: #1A1A1A;
font-size: 18px;
font-weight: lighter;
}

/* hero section */
.hero-image {
color: #FFF;
background-image: url('../images/landing.jpg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: auto;
height: 1000px;
text-align: center;
align-content: center;
}

.hero-title{
font-size: 80px;
}

.hero-paragraph {
font-size: 27px;
width: 600px;
margin: 0 auto;
line-height: 1.5;
}

/* content section */
.content-section h2 {
font-size: 36px;
margin-top: 50px;
margin-bottom: 10px;
text-align: center;
}

.content-cards {
display: flex;
flex-direction: row;
justify-content: center;
gap: 60px;
}

.card{
width: 200px;
height: auto;
margin: 50px 20px;
padding: 20px;
text-align: center;
}

.card img{
width: 150px;
height: 150px;
}

.card-title{
color: #00B172;
}


/* final section */
.final-section {
background-color: #00B172;
color: #FFF;
padding: 80px;
display: flex;
justify-content: space-around;
align-items: center;
}

.final-text h2{
text-decoration: underline;
text-underline-offset: 14px;
font-size: 36px;
margin-top: 50px;
margin-bottom: 10px;
}

.final-text h3{
font-size: 25px;
font-weight: bold;
padding-top: 35px;
}

.final-text p{
font-size: 20px;
width: 400px;
line-height: 1.5;
}

.icon-spotify{
width: 100px;
height: auto;
}

.final-image img{
width: 350px;
height: auto;
}