Skip to content

Nostrarafus/lab-css-spotify-clone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Ironhack Logo

CSS | Spotify Clone

Introduction

Everyone likes music, right? Odds are if you do, you've heard of Spotify. Today we're going to copy an older (and simpler) version of the Spotify home page:

Spotify image

All of the necessary assets and images are included in the starter code. If you'd like a full length PDF version of the website as reference, check out this link.

Exercise

Requirements

  • Fork this repo
  • Clone this repo

Submission

Upon completion, run the following commands:

$ git add .
$ git commit -m "done"
$ git push origin master

Create Pull Request so your TAs can check up your work.

Instructions

You will receive the images and resources in the starter code. Write your CSS and HTML in the provided files. Remember to follow good practices.

Steps

The page is split into 4 sections.

Navbar

  • The navbar should be position: fixed.
  • Float the image left, and float a ul with the links right.

Large image background with text

What's on Spotify section

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

Green Section

  • It looks like we have 2 main pieces, a div with the text content, and the image of the Spotify player. Position these according to the surrounding green div.
  • Position the Spotify logo absolutely according to the Green div.

Starter code

The starter-code contains all the files, images, and text content needed to create the page. The text is in the index.html, and a css file is created in main.css with colors.

Happy coding! ❤️

About

A CSS exercise to practice positioning and layout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 52.2%
  • CSS 47.8%