Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A CSS exercise to practice positioning and layout

NotificationsYou must be signed in to change notification settings

ironhack-labs/lab-css-spotify-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo_ironhack_blue 7

LAB | HTML & CSS - Spotify Clone

Learning Goals

This exercise allows you to practice and apply the concepts and techniques taught in class.

Upon completion of this exercise, you will be able to:

  • Create a webpage based on provided design and assets.
  • Create and link an external CSS stylesheet with an HTML document.
  • Display images in a webpage using HTML image tags and CSSbackground property.
  • Use the CSSposition property to position elements on a webpage.
  • Use Flexbox to layout and position elements on a webpage.
  • Center content on a webpage, including images and text.
  • Submit completed work using Git and GitHub by creating a Pull Request.


Introduction

Everybody likes music, right? So the odds are that you have heard ofSpotify.

In this lab, we will be building a simplified version of the Spotify landing page:

Spotify image


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

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 are provided with some assets - in theimages folder, you will find the necessary images, and the text is ready for you in theindex.html file. Write your HTML and CSS code in theindex.html andstyles/style.css files, respectively. Again, 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 of the wild, so you will likely have mockups/sketches that you will have to integrate. Therefore, it is a good practice to help you cut the website into pieces before coding to help youstructuring your HTML.

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

💪 💪 💪

Let's do this!

Iteration 1: Navbar

  • The navbar should beposition: fixed.
  • Align the logo to the left and theul with the links to the right, either usingfloat orflex.

Iteration 2: Large image background with text

Iteration 3: What is on Spotify section

  • It looks like thedivs 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 thegreendiv.

Happy coding! ❤️

About

A CSS exercise to practice positioning and layout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp