Skip to content

Nashville Software School project to explore frontend web development tools

Notifications You must be signed in to change notification settings

Jessawynne/music-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music History

This project explored tools introduced throughout the entire front end course.

Version One : Requirements

  1. Create five options for the artist select element of any artist that you enjoy.
  2. Create at least five options for the album select element. One, or more, album for each artist.
  3. The links in the navigation bar don't need to link to anything just yet, you can use View music for now
  4. Pick your four favorite songs from the artists you have chosen and use the information for each in the list that's on the right-hand side. You can use h1 tags, div tags, section tags... whatever you like.

Version Two : Requirements

Use JavaScript arrays, loops, and innerHTML to show the music you love.

  1. Add one song to the beginning and the end of the array.
  2. Loop over the array and remove any words or characters that obviously don't belong.
  3. Find and replace the > character in each item with a - character.
  4. Add each string to the DOM in index.html in the main content area.

| {Song name} by {Artist} on the album {Album} |

Version Three : Requirements

  1. Use the Flexible Layout Box model to ensure that both the form section and the content section are the same height.
  2. The entire container for the even songs (plus its details) should have a background color of Sea Shell (SeaShell or #FFF5EE)
  3. The entire container for the odd songs (plus its details) should have a background color of Mint Cream (MintCream or #F5FFFA)
  4. The first song container should have bold text.
  5. Set the navigation bar's position so that it's always on the top of the page, even if you scroll down. To ensure this works, you can just add some div tags at the bottom of the page that add enough text that would force you to scroll the browser.

Version Four : Requirements

  1. In the navigation bar, make sure you have two links labeled "List Music", and "Add Music".
  2. Add a DOM element that contains some input fields for the user to enter in the name of a song, the artist for the song, and the album. You do not need to enclose them in a <form> element because we're not actually submitting this form anywhere.
  3. Add a <button> element at the bottom of the input fields labeled "Add".
  4. The input fields and the add button make up the Add Music View.
  5. The existing view - the combination of the filter form and the song list - will be referred to as the List Music View.
  6. The Add Music View should not appear when the user first visits your page. The song list with the corresponding filter form should be visible.
  7. When the user clicks on "Add Music" in the navigation bar, the List Music View should be hidden, and the Add Music View should be shown (see example wireframe).
  8. When the user clicks on "List Music" in the naviation bar, the Add Music View should be hidden, and the List Music View should be shown (see example wireframe).
  9. Once the user fills out the song form and clicks the add button, you should collect all values from the input fields, add the song to your array of songs, and update the song list in the DOM.

Version Five : Requirements

  1. Read from local JSON file with jQuery.
  2. Loop over results and inject into Music History list page.
  3. Add delete button DOM to each row and use jQuery to delete entire row in the DOM.
  4. Take your music and split it into two JSON file instead of them all living on one file.
  5. Add a button at the bottom of your music list and label it "More >".
  6. Load the songs from the first list and inject the DOM into the document as you've already done.
  7. When the user clicks that button, load the songs from the second JSON file and append them to the bottom of the existing music, but before the More button.

Version Six : Using Bootstrap

You need to have your application refactored to use the Bootstrap grid system for layout. From this point on, styling of your application is completely up to you, but you must be using Bootstrap grid system for layouts.

Version Seven : Using Handlebars

  1. Use jQuery to retrieve the songs from your API.
  2. Use the JSON objects to populate Handlebar templates.
  3. Use the populated templates to update the browser.
  4. Add new songs to your Firebase API with POST AJAX calls.
  5. Populate the form fields with data from your API.
  6. When "Filter" button is pressed, update the song list with songs that only match the specified criteria.

Make sure that you are using Handlebars for all DOM rendering. Do not fall back to using jQuery to hide and show songs in order to get the filtering to work. If you want to display a subset of songs that match an artist or an album, you need to send a new object to the Handlebar templates.

Version Eight: Requirements

Use OAuth.io and build it into your Music History application.

About

Nashville Software School project to explore frontend web development tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published