ZOEYXIAOZHENG / lab-css-spotify

A CSS exercise to practice positioning and layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LAB | HTML & CSS - Spotify Clone

Spotify image


All of the necessary assets and images are already provided. You might also find it useful to resort to the full-length PDF version of the website as reference.

You are provided with some assets - in the images folder, you will find the necessary images, and the text is ready for you in the index.html file. Write your HTML and CSS code in the index.html and styles/style.css files, respectively. Remember to follow the best practices.

The page is split into 4 sections, and we have generously cut it down into pieces!

In general, website designs don't just come out the wild, so you will most likely be having mockups/sketches that you will have to integrate. It is a good practice to help you out before coding to cut the website into pieces in order to help you out structuring your HTML.

The last section isn't as detailed as the others ones, good luck 😄

💪 💪 💪

Iteration 1: Navbar

  • The navbar should be position: fixed.
  • Align the logo to the left and the ul with the links to the right, either using float or flex.

Iteration 2: Large image background with text

Iteration 3: What is on Spotify section

  • It looks like the divs take up about a third of the container each. How can you represent this in code?

Iteration 4: The green section

  • It looks like we have 2 main sections, a containing element with the text flowing from top to bottom, and the image of the Spotify player on the right.
  • Position the Spotify logo absolutely according to the green div.

About

A CSS exercise to practice positioning and layout


Languages

Language:CSS 55.8%Language:HTML 44.2%