From eef3b63105339fb768be98a5f188a12d1bb35a3d Mon Sep 17 00:00:00 2001 From: "Rishi G." Date: Sun, 31 Aug 2025 22:01:28 +0300 Subject: [PATCH 1/2] practice --- index.html | 58 +++++++++++++++++++++++++++++++----- styles/style.css | 77 ++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 126 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 0697f92fe..c886260fc 100644 --- a/index.html +++ b/index.html @@ -6,13 +6,57 @@ Spotify Clone + - - 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. + + +
+
Music for everyone.
+

+ Spotify is now free on mobile, tablet and computer.
Listen to the right + music, wherever you are. +

+
+
+ +

What's on Spotify?

+ +
+
+ horn +

Millions of Songs

+

There are millions of songs on Spotify

+
+
+ soundwave +

HD Music

+

Listen to music as if you were listening live

+
+
+ devices +

Stream Everywhere

+

Stream music on your smartphone, tablet or computer

+
+
+
+ diff --git a/styles/style.css b/styles/style.css index 55efb32c6..ae23fa86b 100644 --- a/styles/style.css +++ b/styles/style.css @@ -1,8 +1,81 @@ -/* +/* Colors: Text: 1A1A1A Green: #00B172 White: #FFF -*/ + */ +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +.nav-bar { + display: flex; + justify-content: space-between; + align-items: center; + padding: 20px; +} + +ul { + list-style: none; + display: flex; + align-items: center; + gap: 25px; + color: #1a1a1a; +} + +.box1 { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + color: #fff; + background-image: url("/images/landing.jpg"); + background-position: center; + background-repeat: no-repeat; + background-size: cover; + padding: 200px 0px; + letter-spacing: 2px; +} +.box1 p { + font-size: 15px; + line-height: 25px; +} + +.title-text { + font-size: 48px; + margin: 15px; + font-weight: 800; +} + +.middle { + margin: 40px 30px; + text-align: center; +} + +.box2 { + display: flex; + justify-content: center; + align-items: center; + padding: 20px; +} + +.post { + text-align: center; + flex-direction: column; + margin: 20px; + color: #1a1a1a; +} + +.post h3 { + color: #00b172; + margin: 10px; +} + +.post img { + width: 100px; +} From 3ced6c55766ea1c1da827376a0b534da06277f8b Mon Sep 17 00:00:00 2001 From: "Rishi G." Date: Thu, 4 Sep 2025 13:12:06 +0300 Subject: [PATCH 2/2] lab done --- index.html | 22 +++++++++++++--------- styles/style.css | 26 ++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index c886260fc..ee54de286 100644 --- a/index.html +++ b/index.html @@ -48,15 +48,19 @@

Stream Everywhere

diff --git a/styles/style.css b/styles/style.css index ae23fa86b..b3404efbf 100644 --- a/styles/style.css +++ b/styles/style.css @@ -79,3 +79,29 @@ ul { .post img { width: 100px; } + +.footer { + background-color: #00b172; + display: flex; + justify-content: center; + align-items: center; + padding: 40px; + margin: 0 20px; +} + +.footer-text { + color: #fff; +} + +.footer img { + margin: 40px; +} + +.footer h3 { + margin: 20px 0; +} + +.footer h2 { + border-bottom: 3px #fff solid; + padding-bottom: 10px; +}