Skip to content

blackc0d3/lab-css-spotify-clone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Ironhack Logo

JS | 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 webite as reference, check out this link.

Exercise

Requirements

  • Fork this repo
  • Clone this repo into your ~/code/labs
  • You must use 1 descendant selector, and 1 multi selector. You can use more.
  • Animate the green Spotify logo in the upper left-hand corner to jump up and down when a user hovers over it.

Submission Instructions

Upon completion, run the following commands

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

Navigate to your repo and create a Pull Request -from your master branch to the original repository master branch.

In the Pull request name, add your name and last names separated by a dash "-"

Deliverables

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.

About

A CSS exercise to practice positioning and layout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 66.0%
  • HTML 34.0%