Git Product home page Git Product logo

lab-css-spotify-clone's Introduction

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 CSS background property.
  • Use the CSS position 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 of Spotify.

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 the full-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 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. 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 you structuring 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 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.

Happy coding! ❤️

lab-css-spotify-clone's People

Contributors

fontcuberta avatar jalexy12 avatar josecarneiro avatar ross-u avatar sandrabosk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lab-css-spotify-clone's Issues

T

2020-03-18 07:56:48.8462|WARN|Winleafs.Wpf.Api.Events.SpotifyEventTrigger|Retrieving the Spotify current playlist failed.
System.ArgumentException: An item with the same key has already been added. Key: System.Net.Http.Headers.HeaderDescriptor
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at System.Net.Http.Headers.HttpHeaders.GetOrCreateHeaderInfo(HeaderDescriptor descriptor, Boolean parseRawValues)
   at SpotifyAPI.Web.SpotifyWebClient.AddHeaders(Dictionary`2 headers)
   at SpotifyAPI.Web.SpotifyWebClient.DownloadRawAsync(String url, Dictionary`2 headers)
   at SpotifyAPI.Web.SpotifyWebClient.DownloadAsync(String url, Dictionary`2 headers)
   at SpotifyAPI.Web.SpotifyWebClient.DownloadJsonAsync[T](String url, Dictionary`2 headers)
   at SpotifyAPI.Web.SpotifyWebAPI.DownloadDataAsync[T](String url)
   at Winleafs.Wpf.Helpers.Spotify.GetCurrentPlayingPlaylist() in Winleafs\Winleafs.Wpf\Helpers\Spotify.cs:line 63
   at Winleafs.Wpf.Api.Events.SpotifyEventTrigger.CheckPlaylistAsync() in Winleafs\Winleafs.Wpf\Api\Events\SpotifyEventTrigger.cs:line 54

Originally posted by @StijnOostdam in winleafs/Winleafs#119 (comment)

Hello-world

Idk was ich hierbei ein paar schöne Tage in Berlin oder morgen Abend und bis bald liebe

````jjj

2020-03-18 07:56:48.8462|WARN|Winleafs.Wpf.Api.Events.SpotifyEventTrigger|Retrieving the Spotify current playlist failed.
System.ArgumentException: An item with the same key has already been added. Key: System.Net.Http.Headers.HeaderDescriptor
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at System.Net.Http.Headers.HttpHeaders.GetOrCreateHeaderInfo(HeaderDescriptor descriptor, Boolean parseRawValues)
   at SpotifyAPI.Web.SpotifyWebClient.AddHeaders(Dictionary`2 headers)
   at SpotifyAPI.Web.SpotifyWebClient.DownloadRawAsync(String url, Dictionary`2 headers)
   at SpotifyAPI.Web.SpotifyWebClient.DownloadAsync(String url, Dictionary`2 headers)
   at SpotifyAPI.Web.SpotifyWebClient.DownloadJsonAsync[T](String url, Dictionary`2 headers)
   at SpotifyAPI.Web.SpotifyWebAPI.DownloadDataAsync[T](String url)
   at Winleafs.Wpf.Helpers.Spotify.GetCurrentPlayingPlaylist() in Winleafs\Winleafs.Wpf\Helpers\Spotify.cs:line 63
   at Winleafs.Wpf.Api.Events.SpotifyEventTrigger.CheckPlaylistAsync() in Winleafs\Winleafs.Wpf\Api\Events\SpotifyEventTrigger.cs:line 54

Originally posted by @StijnOostdam in winleafs/Winleafs#119 (comment)

Sugiro ativar o github pages

Como programador iniciante desejo muito contribuir nos projetos dos outros fazendo Forks, mais muita da vezes queremos ver os projetos antes de fazer um Fork.

Por isso é muito importante ter ativado a opção pages no seu projeto, isso permitirá que as pessoas possam ver eles antes de tentarem fazer Forks.

Em caso de não saberes do assunto podes pesquisar no Youtube o seguinte: Como ativar a opção github pages nos meus projetos.

Agradeço pelo seu tempo lendo o assunto...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.