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
83 changes: 77 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,84 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Spotify Clone</title>
<!-- don't forget to link your styles -->
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<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.
<nav class="navbar textcolor">
<div class="contentLogo">
<img class="navLogo" src="images/spotify-logo.png" alt="spotify-app">
</div>
<ul>
<li>Premium</li>
<li>Discover</li>
<li>Help</li>
<li>Download</li>
</ul>
</nav>

<main>
<div class="imageCover">
<div class="textCover white">
<h1 class="titleBloq">Music for everyone.</h1>
<p class="titleBloq">Spotify is now free on mobile, tablet and computer. Listen to the
right music, wherever you are.</p>
</div>
</div>

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

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

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

*/
body {
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
}

.textcolor {
color: #1A1A1A;
}

.green {
color: #00B172;
}

.white {
color: #FFF;
}

.navbar {
width: 100%;
height: 60px;
display: flex;
position: fixed;
justify-content: space-between;
align-items: center;
background-color: #FFF;
margin: 0;
padding: 0 20px;
box-sizing: border-box;
}

.navbar ul {
display: flex;
margin: 0;
padding: 0;
gap: 1.5rem;
font-weight: 200;
}

.navbar li {
display: flex;
justify-content: space-between;
border-right: 1px solid #FFF;
}

.navLogo {
height: 47px;
width: auto;
}

.imageCover {
display: flex;
background-image: url("../images/landing.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
justify-content: center;
height: 600px;
padding: 0;
margin: 0;
}

.textCover {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 550px;
gap: 5px;
}

.textCover h1 {
font-size: 60px;
font-weight: 500;
}

.textCover p {
font-size: 23px;
font-weight: 200;
}

.titleBloq {
display: flex;
text-align: center;
padding: 2px;
margin: 2px;
}

.features {
padding: 40px 40px;
text-align: center;
height: 350px;
}

.feature {
margin-bottom: 30px;
}

.featuresTitle {
border-bottom: 3px solid #00B172;
font-size: 30px;
font-weight: bold;
}

.sections {
display: flex;
flex-direction: row;
justify-content: center;
align-items: flex-start;
gap: 100px;
padding: 20px;
}

.section {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
max-width: 250px;
gap: 10px;
}

.section img {
width: 100px;
height: 100px;
object-fit: contain;
}

.section h2 {
margin: 10px 0 5px;
font-size: 1.5rem;
}

.section p {
margin: 0;
font-size: 1.1rem;
font-weight: 300;
line-height: 1.5;
color: #9c9c9c;
width: 190px;
}

.sections--bottom {
display: flex;
flex-direction: row;
justify-content: space-between;
background-color: #00B172;
margin: 0 30px 30px 30px;
height: 600px;
gap: 20px;
}

.section--bottom--left {
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
align-items: center;

}

.section--bottom--left h1 {
font-weight: 500;
}

.section--bottom--left--title {
border-bottom: 3px solid #FFF;
padding-bottom: 8px;
width: 400px;
}

.section--bottom--left--text {
width: 250px;
}

.section--bottom--left--text p {
font-weight: 200;
line-height: 1.5;
font-size: 1rem;
}

.section--bottom--img--icon {
display: flex;
justify-content: center;
align-items: center;
}

.section--bottom--img--icon img {
width: 100px;
height: 100px;
object-fit: contain;
}

.section--bottom--img--app {
display: flex;
justify-content: center;
align-items: center;

}

.section--bottom--img--app img {
width: auto;
height: 450px;
object-fit: contain;
}