diff --git a/README.md b/README.md
index 2475d90..b6275b3 100644
--- a/README.md
+++ b/README.md
@@ -14,12 +14,12 @@ These exercises will help you practice really useful JavaScript array methods.
Upon completion, run the following commands
```
$ git add .
-$ git commit -m "done"
+$ 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 "-"
+In the Pull request name, add your name and last names separated by a dash '-'
## Deliverables
@@ -37,20 +37,20 @@ Since your company has 5 departments with 10 people working in each department,
Employee responses can be one of:
-- "This is the best job ever!"
-- "Satisfied."
-- "At least I get paid."
-- "I'm looking for another job."
-- "I don't want to answer."
+- 'This is the best job ever!'
+- 'Satisfied.'
+- 'At least I get paid.'
+- 'I'm looking for another job.'
+- 'I don't want to answer.'
1) Create an array for the predetermined responses.
```javascript
-var responses = [ "This is the best job ever!",
- "Satisfied.",
- "At least I get paid.",
- "I'm looking for another job.",
- "I don't want to answer." ];
+var responses = [ 'This is the best job ever!',
+ 'Satisfied.',
+ 'At least I get paid.',
+ 'I'm looking for another job.',
+ 'I don't want to answer.' ];
```
2) Create a function that randomly selects an item from the `responses` array.
@@ -85,8 +85,8 @@ Let's organize these Harry Potter character birthdays. Unlike in Harry's world,
2) Now that we have our two-dimensional array, we realized that some characters and their birthdays were missing. After a little more digging, we found another array with more birthdays from the book. Paste it into your JavaScript file.
```javascript
-var moreBirthdays = [ "Lily Evans", "30 January", "James Potter", "27 March",
- "Dudley Dursley", "30 June", "Tom Riddle", "31 December" ];
+var moreBirthdays = [ 'Lily Evans', '30 January', 'James Potter', '27 March',
+ 'Dudley Dursley', '30 June', 'Tom Riddle', '31 December' ];
```
3) Luckily, the `moreBirthdays` array follows the same structure as the previous array. That means we can use our function from step 1 to restructure the birthdays into a second two-dimensial array.
@@ -109,45 +109,45 @@ Rules we will enforce on our users' passwords:
**Unique characters:** Create a function that checks that each character only appears once in the password. It should receives a password and display _Ouch, bad password._ in the console if there are any repeated characters. Otherwise, it should display _Good password._ in the console.
```javascript
-var goodPsswd = "1234567890";
-var badPsswd = "1123456";
+var goodPsswd = '1234567890';
+var badPsswd = '1123456';
var noRepeatChar = function (password) {
//your code goes here
};
noRepeatChar(goodPsswd);
-// "Good password."
+// 'Good password.'
noRepeatChar(badPsswd);
-// "Ouch, bad password."
+// 'Ouch, bad password.'
```
**Only numbers:** Create a function that checks that a password only has numbers. It should receives a password and display _Ouch, bad password._ in the console if there are any characters that aren't numbers. Otherwise, it should display _Good password._ in the console.
```javascript
-var goodPsswd = "1234567890";
-var badPsswd = "1a234567890";
+var goodPsswd = '1234567890';
+var badPsswd = '1a234567890';
var onlyNumbers = function () {
//your code goes here
};
onlyNumbers(goodPsswd);
-// "Good password."
+// 'Good password.'
onlyNumbers(badPsswd);
-// "Ouch, bad password."
+// 'Ouch, bad password.'
```
**Ten digits only:** Create a function thats trim the password down to only 10 digits. The function should receive a password, discard all characters after the 10th (index 9 of the string) and display the trimed password in the console.
```javascript
-var goodPsswd = "1234567890";
-var badPsswd = "12345678901234567890";
+var goodPsswd = '1234567890';
+var badPsswd = '12345678901234567890';
var trimPassword = function (password) {
//your code goes here
};
trimPassword(badPsswd);
-// "1234567890"
+// '1234567890'
```
## Iteration 4 - Abbey Road Studios
diff --git a/starter-code/index.html b/starter-code/index.html
index 72d9190..2656b79 100644
--- a/starter-code/index.html
+++ b/starter-code/index.html
@@ -2,9 +2,9 @@
Advanced Collection Methods
-
-
-
+
+
+
diff --git a/starter-code/lib/abbeyRoad.js b/starter-code/lib/abbeyRoad.js
index fb7754d..93227d5 100644
--- a/starter-code/lib/abbeyRoad.js
+++ b/starter-code/lib/abbeyRoad.js
@@ -1,913 +1,913 @@
-var abbeyRoadRecords = [{song: "Land of Hope and Glory",
- artist: "Sir Edward Elgar",
+var abbeyRoadRecords = [{song: 'Land of Hope and Glory',
+ artist: 'Sir Edward Elgar',
month: 11,
year: 1931},
- {song: "Elgar violin concerto",
- artist: "Yehudi Menuhin",
+ {song: 'Elgar violin concerto',
+ artist: 'Yehudi Menuhin',
month: 07,
year: 1932},
- {song: "Piano Sonata, Funerailles",
- artist: "Yehudi Menuhin",
+ {song: 'Piano Sonata, Funerailles',
+ artist: 'Yehudi Menuhin',
month: 11,
year: 1932},
- {song: "",
- artist: "Richard Tauber",
+ {song: '',
+ artist: 'Richard Tauber',
month: 11,
year: 1933},
- {song: "Suits No. 1 & 2 Johann Sebastian Bach's Cello Suites",
- artist: "Pablo Casals",
+ {song: 'Suits No. 1 & 2 Johann Sebastian Bach\'s Cello Suites',
+ artist: 'Pablo Casals',
month: 11,
year: 1933},
- {song: "Suits No. 1 & 2 Johann Sebastian Bach's Cello Suites",
- artist: "Pablo Casals",
+ {song: 'Suits No. 1 & 2 Johann Sebastian Bach\'s Cello Suites',
+ artist: 'Pablo Casals',
month: 11,
year: 1936},
- {song: "I Can't Give You Anything but Love",
- artist: "Adelaide Hall and Fats Waller",
+ {song: 'I Can\'t Give You Anything but Love',
+ artist: 'Adelaide Hall and Fats Waller',
month: 08,
year: 1938},
- {song: "Symphony No. 5",
- artist: "Vaughan Williams",
+ {song: 'Symphony No. 5',
+ artist: 'Vaughan Williams',
year: 1943},
- {artist: "Glenn Miller and Dinah Shore",
+ {artist: 'Glenn Miller and Dinah Shore',
month: 09,
year: 1944},
- {song: "Quintet for Piano and Winds",
- artist: "Dennis Brain Wind Ensemble with Colin Horsley",
+ {song: 'Quintet for Piano and Winds',
+ artist: 'Dennis Brain Wind Ensemble with Colin Horsley',
year: 1954},
- {song: "Move It",
- artist: "Cliff Richard and the Drifters",
+ {song: 'Move It',
+ artist: 'Cliff Richard and the Drifters',
year: 1958},
- {song: "Cliff",
- artist: "Cliff Richard and the Drifters",
+ {song: 'Cliff',
+ artist: 'Cliff Richard and the Drifters',
year: 1959},
- {song: "Cliff Sings",
- artist: "Cliff Richard and the Drifters",
+ {song: 'Cliff Sings',
+ artist: 'Cliff Richard and the Drifters',
year: 1959},
- {song: "Serious Charge",
- artist: "Cliff Richard and the Drifters",
+ {song: 'Serious Charge',
+ artist: 'Cliff Richard and the Drifters',
year: 1959},
- {song: "Expresso Bongo",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Expresso Bongo',
+ artist: 'Cliff Richard and The Shadows',
year: 1959},
- {song: "Living Doll",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Living Doll',
+ artist: 'Cliff Richard and The Shadows',
year: 1959},
- {song: "Travellin' Light",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Travellin\' Light',
+ artist: 'Cliff Richard and The Shadows',
year: 1959},
- {song: "100 Strings and Joni",
- artist: "Joni James",
+ {song: '100 Strings and Joni',
+ artist: 'Joni James',
year: 1959},
- {song: "My Thanks to You",
- artist: "Connie Francis",
+ {song: 'My Thanks to You',
+ artist: 'Connie Francis',
year: 1959},
- {song: "Connie Francis Sings Italian Favorites",
- artist: "Connie Francis",
+ {song: 'Connie Francis Sings Italian Favorites',
+ artist: 'Connie Francis',
year: 1959},
- {song: "Christmas in My Heart",
- artist: "Connie Francis",
+ {song: 'Christmas in My Heart',
+ artist: 'Connie Francis',
year: 1959},
- {song: "One for the Boys",
- artist: "Joni James",
+ {song: 'One for the Boys',
+ artist: 'Joni James',
year: 1959},
- {song: "Me and My Shadows",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Me and My Shadows',
+ artist: 'Cliff Richard and The Shadows',
year: 1960},
- {song: "Apache",
- artist: "The Shadows",
+ {song: 'Apache',
+ artist: 'The Shadows',
year: 1960},
- {song: "Please Don't Tease",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Please Don\'t Tease',
+ artist: 'Cliff Richard and The Shadows',
year: 1960},
- {song: "I Love You",
- artist: "Cliff Richard and The Shadows",
+ {song: 'I Love You',
+ artist: 'Cliff Richard and The Shadows',
year: 1960},
- {song: "The Shadows",
- artist: "The Shadows",
+ {song: 'The Shadows',
+ artist: 'The Shadows',
year: 1960},
- {song: "(Ghost) Riders in the Sky/Torquay",
- artist: "The Scorpions",
+ {song: '(Ghost) Riders in the Sky/Torquay',
+ artist: 'The Scorpions',
year: 1961},
- {song: "Rockin' at the Phil/Scorpio",
- artist: "The Scorpions",
+ {song: 'Rockin\' at the Phil/Scorpio',
+ artist: 'The Scorpions',
year: 1961},
- {song: "Kon-Tiki",
- artist: "The Shadows",
+ {song: 'Kon-Tiki',
+ artist: 'The Shadows',
year: 1961},
- {song: "The Young Ones",
- artist: "Cliff Richard and The Shadows",
+ {song: 'The Young Ones',
+ artist: 'Cliff Richard and The Shadows',
year: 1961},
- {song: "21 Today",
- artist: "Cliff Richard and The Shadows",
+ {song: '21 Today',
+ artist: 'Cliff Richard and The Shadows',
year: 1961},
- {song: "Listen to Cliff",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Listen to Cliff',
+ artist: 'Cliff Richard and The Shadows',
year: 1961},
- {song: "The Shadows",
- artist: "The Shadows",
+ {song: 'The Shadows',
+ artist: 'The Shadows',
year: 1961},
- {song: "It's Time to Say Goodnight",
- artist: "Connie Francis",
+ {song: 'It\'s Time to Say Goodnight',
+ artist: 'Connie Francis',
year: 1961},
- {song: "Wonderful Land",
- artist: "The Shadows",
+ {song: 'Wonderful Land',
+ artist: 'The Shadows',
year: 1962},
- {song: "Dance On",
- artist: "The Shadows",
+ {song: 'Dance On',
+ artist: 'The Shadows',
year: 1962},
- {song: "The Next Time",
- artist: "Cliff Richard and The Shadows",
+ {song: 'The Next Time',
+ artist: 'Cliff Richard and The Shadows',
year: 1962},
- {song: "The Young Ones",
- artist: "Cliff Richard and The Shadows",
+ {song: 'The Young Ones',
+ artist: 'Cliff Richard and The Shadows',
year: 1962},
- {song: "32 Minutes and 17 Seconds with Cliff Richard",
- artist: "Cliff Richard and The Shadows",
+ {song: '32 Minutes and 17 Seconds with Cliff Richard',
+ artist: 'Cliff Richard and The Shadows',
year: 1962},
- {song: "The Boys",
- artist: "The Shadows",
+ {song: 'The Boys',
+ artist: 'The Shadows',
year: 1962},
- {song: "Out of The Shadows",
- artist: "The Shadows",
+ {song: 'Out of The Shadows',
+ artist: 'The Shadows',
year: 1962},
- {song: "Foot Tapper",
- artist: "The Shadows",
+ {song: 'Foot Tapper',
+ artist: 'The Shadows',
year: 1963},
- {song: "Summer Holiday",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Summer Holiday',
+ artist: 'Cliff Richard and The Shadows',
year: 1963},
- {song: "When in Spain",
- artist: "Cliff Richard and The Shadows",
+ {song: 'When in Spain',
+ artist: 'Cliff Richard and The Shadows',
year: 1963},
- {song: "Stay with The Hollies",
- artist: "The Hollies",
+ {song: 'Stay with The Hollies',
+ artist: 'The Hollies',
year: 1963},
- {song: "Please Please Me",
- artist: "The Beatles",
+ {song: 'Please Please Me',
+ artist: 'The Beatles',
year: 1963},
- {song: "With The Beatles",
- artist: "The Beatles",
+ {song: 'With The Beatles',
+ artist: 'The Beatles',
year: 1963},
- {song: "How Do You Do It",
- artist: "Gerry and the Pacemakers",
+ {song: 'How Do You Do It',
+ artist: 'Gerry and the Pacemakers',
month: 1,
year: 1963},
- {song: "Dance with The Shadows",
- artist: "The Shadows",
+ {song: 'Dance with The Shadows',
+ artist: 'The Shadows',
year: 1963},
- {song: "Wonderful Life",
- artist: "Cliff Richards and The Shadows",
+ {song: 'Wonderful Life',
+ artist: 'Cliff Richards and The Shadows',
year: 1964},
- {song: "Ferry Cross the Mersey",
- artist: "Gerry and the Pacemakers",
+ {song: 'Ferry Cross the Mersey',
+ artist: 'Gerry and the Pacemakers',
month: 5,
year: 1964},
- {song: "Aladdin and His Lamp",
- artist: "Cliff Richards and The Shadows",
+ {song: 'Aladdin and His Lamp',
+ artist: 'Cliff Richards and The Shadows',
year: 1964},
- {song: "A Hard Day's Night",
- artist: "The Beatles",
+ {song: 'A Hard Day\'s Night',
+ artist: 'The Beatles',
year: 1964},
- {song: "In The Hollies Style",
- artist: "The Hollies",
+ {song: 'In The Hollies Style',
+ artist: 'The Hollies',
year: 1964},
- {song: "Beatles for Sale",
- artist: "The Beatles",
+ {song: 'Beatles for Sale',
+ artist: 'The Beatles',
year: 1964},
- {song: "Cliff Richard",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Cliff Richard',
+ artist: 'Cliff Richard and The Shadows',
year: 1964},
- {song: "Love is Forever",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Love is Forever',
+ artist: 'Cliff Richard and The Shadows',
year: 1965},
- {song: "The Sound of The Shadows",
- artist: "The Shadows",
+ {song: 'The Sound of The Shadows',
+ artist: 'The Shadows',
year: 1965},
- {song: "Rhythm and Greens",
- artist: "The Shadows",
+ {song: 'Rhythm and Greens',
+ artist: 'The Shadows',
year: 1965},
- {song: "Hollies",
- artist: "The Hollies",
+ {song: 'Hollies',
+ artist: 'The Hollies',
year: 1965},
- {song: "Help",
- artist: "The Beatles",
+ {song: 'Help',
+ artist: 'The Beatles',
year: 1965},
- {song: "Rubber Soul",
- artist: "The Beatles",
+ {song: 'Rubber Soul',
+ artist: 'The Beatles',
year: 1965},
- {song: "Sunshine Superman",
- artist: "Donovan",
+ {song: 'Sunshine Superman',
+ artist: 'Donovan',
year: 1966},
- {song: "Mellow Yellow",
- artist: "Donovan",
+ {song: 'Mellow Yellow',
+ artist: 'Donovan',
year: 1966},
- {song: "Kinda Latin",
- artist: "Cliff Richard",
+ {song: 'Kinda Latin',
+ artist: 'Cliff Richard',
year: 1966},
- {song: "Finders Keepers",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Finders Keepers',
+ artist: 'Cliff Richard and The Shadows',
year: 1966},
- {song: "Would You Believe?",
- artist: "The Hollies",
+ {song: 'Would You Believe?',
+ artist: 'The Hollies',
year: 1966},
- {song: "Shadow Music",
- artist: "The Shadows",
+ {song: 'Shadow Music',
+ artist: 'The Shadows',
year: 1966},
- {song: "Splendor in the Grass",
- artist: "Gullivers People",
+ {song: 'Splendor in the Grass',
+ artist: 'Gullivers People',
year: 1966},
- {song: "Revolver",
- artist: "The Beatles",
+ {song: 'Revolver',
+ artist: 'The Beatles',
year: 1966},
- {song: "Fi-Fo-Fum",
- artist: "Gullivers People",
+ {song: 'Fi-Fo-Fum',
+ artist: 'Gullivers People',
year: 1966},
- {song: "Thunderbirds Are Go",
- artist: "The Shadows with Cliff Richard",
+ {song: 'Thunderbirds Are Go',
+ artist: 'The Shadows with Cliff Richard',
year: 1966},
- {song: "For Certain Because",
- artist: "The Hollies",
+ {song: 'For Certain Because',
+ artist: 'The Hollies',
year: 1967},
- {song: "Don't Stop Me Now",
- artist: "Cliff Richard",
+ {song: 'Don\'t Stop Me Now',
+ artist: 'Cliff Richard',
year: 1967},
- {song: "Cinderella",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Cinderella',
+ artist: 'Cliff Richard and The Shadows',
year: 1967},
- {song: "Good News",
- artist: "Cliff Richard",
+ {song: 'Good News',
+ artist: 'Cliff Richard',
year: 1967},
- {song: "Jigsaw",
- artist: "The Shadows",
+ {song: 'Jigsaw',
+ artist: 'The Shadows',
year: 1967},
- {song: "From Hank, Bruce, Brian and John",
- artist: "The Shadows",
+ {song: 'From Hank, Bruce, Brian and John',
+ artist: 'The Shadows',
year: 1967},
- {song: "Evolution",
- artist: "The Hollies",
+ {song: 'Evolution',
+ artist: 'The Hollies',
year: 1967},
- {song: "Sgt. Pepper's Lonely Hearts Club Band",
- artist: "The Beatles",
+ {song: 'Sgt. Pepper\'s Lonely Hearts Club Band',
+ artist: 'The Beatles',
year: 1967},
- {song: "Odessey and Oracle",
- artist: "The Zombies",
+ {song: 'Odessey and Oracle',
+ artist: 'The Zombies',
year: 1967},
- {song: "Magical Mystery Tour",
- artist: "The Beatles",
+ {song: 'Magical Mystery Tour',
+ artist: 'The Beatles',
year: 1967},
- {song: "Butterfly",
- artist: "The Hollies",
+ {song: 'Butterfly',
+ artist: 'The Hollies',
year: 1967},
- {song: "The Piper at the Gates of Dawn",
- artist: "Pink Floyd",
+ {song: 'The Piper at the Gates of Dawn',
+ artist: 'Pink Floyd',
year: 1967},
- {song: "Change of Direction",
- artist: "Brian Bennett",
+ {song: 'Change of Direction',
+ artist: 'Brian Bennett',
year: 1967},
- {song: "Established 1958",
- artist: "Cliff Richard and The Shadows",
+ {song: 'Established 1958',
+ artist: 'Cliff Richard and The Shadows',
year: 1968},
- {song: "Two a Penny",
- artist: "Cliff Richard",
+ {song: 'Two a Penny',
+ artist: 'Cliff Richard',
year: 1968},
- {song: "A Saucerful of Secrets",
- artist: "Pink Floyd",
+ {song: 'A Saucerful of Secrets',
+ artist: 'Pink Floyd',
year: 1968},
- {song: "S.F. Sorrow",
- artist: "The Pretty Things",
+ {song: 'S.F. Sorrow',
+ artist: 'The Pretty Things',
year: 1968},
- {song: "The Madcap Laughs",
- artist: "Syd Barrett",
+ {song: 'The Madcap Laughs',
+ artist: 'Syd Barrett',
year: 1968},
- {song: "On a Day Like This",
- artist: "Gullivers People",
+ {song: 'On a Day Like This',
+ artist: 'Gullivers People',
year: 1968},
- {song: "Truth",
- artist: "Jeff Beck with Rod Stewart and Ronnie Wood",
+ {song: 'Truth',
+ artist: 'Jeff Beck with Rod Stewart and Ronnie Wood',
year: 1968},
- {song: "The Beatles (aka 'The White song')",
- artist: "The Beatles",
+ {song: 'The Beatles (aka \'The White song\')',
+ artist: 'The Beatles',
year: 1968},
- {song: "Sincerely Cliff",
- artist: "Cliff Richard",
+ {song: 'Sincerely Cliff',
+ artist: 'Cliff Richard',
month: 1,
year: 1969},
- {song: "Hollies Sing Dylan",
- artist: "The Hollies",
+ {song: 'Hollies Sing Dylan',
+ artist: 'The Hollies',
month: 2,
year: 1969},
- {song: "Soundtrack from the Film More",
- artist: "Pink Floyd",
+ {song: 'Soundtrack from the Film More',
+ artist: 'Pink Floyd',
month: 3,
year: 1969},
- {song: "Hollies Sing Hollies",
- artist: "The Hollies",
+ {song: 'Hollies Sing Hollies',
+ artist: 'The Hollies',
month: 3,
year: 1969},
- {song: "Somehow,Somewhere",
- artist: "Gullivers People",
+ {song: 'Somehow,Somewhere',
+ artist: 'Gullivers People',
month: 5,
year: 1969},
- {song: "Yellow Submarine",
- artist: "The Beatles",
+ {song: 'Yellow Submarine',
+ artist: 'The Beatles',
month: 9,
year: 1969},
- {song: "Hank Marvin",
- artist: "Hank Marvin",
+ {song: 'Hank Marvin',
+ artist: 'Hank Marvin',
month: 10,
year: 1969},
- {song: "Bloodsucker",
- artist: "Deep Purple",
+ {song: 'Bloodsucker',
+ artist: 'Deep Purple',
month: 11,
year: 1969},
- {song: "Shades of Rock",
- artist: "The Shadows",
+ {song: 'Shades of Rock',
+ artist: 'The Shadows',
year: 1970},
- {song: "Fela's London Scene",
- artist: "Fela Kuti",
+ {song: 'Fela\'s London Scene',
+ artist: 'Fela Kuti',
year: 1970},
- {song: "Tracks 'n Grooves",
- artist: "Cliff Richard",
+ {song: 'Tracks \'n Grooves',
+ artist: 'Cliff Richard',
year: 1970},
- {song: "About That Man",
- artist: "Cliff Richard",
+ {song: 'About That Man',
+ artist: 'Cliff Richard',
year: 1970},
- {song: "His Land",
- artist: "Cliff Richard",
+ {song: 'His Land',
+ artist: 'Cliff Richard',
year: 1970},
- {song: "Confessions of the Mind",
- artist: "The Hollies",
+ {song: 'Confessions of the Mind',
+ artist: 'The Hollies',
year: 1970},
- {song: "All Things Must Pass",
- artist: "George Harrison",
+ {song: 'All Things Must Pass',
+ artist: 'George Harrison',
year: 1970},
- {song: "Barrett",
- artist: "Syd Barrett",
+ {song: 'Barrett',
+ artist: 'Syd Barrett',
month: 7,
year: 1970},
- {song: "All Things Must Pass",
- artist: "George Harrison",
+ {song: 'All Things Must Pass',
+ artist: 'George Harrison',
year: 1970},
- {song: "Atom Heart Mother",
- artist: "Pink Floyd",
+ {song: 'Atom Heart Mother',
+ artist: 'Pink Floyd',
year: 1970},
- {song: "CCS",
- artist: "CCS",
+ {song: 'CCS',
+ artist: 'CCS',
year: 1970},
- {song: "Marvin, Welch & Farrar",
- artist: "Marvin, Welch & Farrar",
+ {song: 'Marvin, Welch & Farrar',
+ artist: 'Marvin, Welch & Farrar',
year: 1970},
- {song: "John Lennon/Plastic Ono Band",
- artist: "John Lennon",
+ {song: 'John Lennon/Plastic Ono Band',
+ artist: 'John Lennon',
year: 1970},
- {song: "Parachute",
- artist: "The Pretty Things",
+ {song: 'Parachute',
+ artist: 'The Pretty Things',
year: 1970},
- {song: "Meddle",
- artist: "Pink Floyd",
+ {song: 'Meddle',
+ artist: 'Pink Floyd',
year: 1971},
- {song: "Second Opinion",
- artist: "Marvin, Welch & Farrar",
+ {song: 'Second Opinion',
+ artist: 'Marvin, Welch & Farrar',
year: 1971},
- {song: "Raspberries",
- artist: "Raspberries",
+ {song: 'Raspberries',
+ artist: 'Raspberries',
year: 1972},
- {song: "Hank Marvin and John Farrar",
- artist: "Marvin and Farrar",
+ {song: 'Hank Marvin and John Farrar',
+ artist: 'Marvin and Farrar',
year: 1972},
- {song: "Fresh",
- artist: "Raspberries",
+ {song: 'Fresh',
+ artist: 'Raspberries',
year: 1972},
- {song: "Afrodisiac",
- artist: "Fela Kuti",
+ {song: 'Afrodisiac',
+ artist: 'Fela Kuti',
year: 1973},
- {song: "Take Me High",
- artist: "Cliff Richard",
+ {song: 'Take Me High',
+ artist: 'Cliff Richard',
year: 1973},
- {song: "The Dark Side of the Moon",
- artist: "Pink Floyd",
+ {song: 'The Dark Side of the Moon',
+ artist: 'Pink Floyd',
year: 1973},
- {song: "Help It Along",
- artist: "Cliff Richard",
+ {song: 'Help It Along',
+ artist: 'Cliff Richard',
year: 1974},
- {song: "Kid in a Big World",
- artist: "John Howard",
+ {song: 'Kid in a Big World',
+ artist: 'John Howard',
year: 1974},
- {song: "Modern Times",
- artist: "Al Stewart",
+ {song: 'Modern Times',
+ artist: 'Al Stewart',
year: 1975},
- {song: "Specs Appeal",
- artist: "The Shadows",
+ {song: 'Specs Appeal',
+ artist: 'The Shadows',
year: 1975},
- {song: "Scheherezade And Other Stories",
- artist: "Renaissance",
+ {song: 'Scheherezade And Other Stories',
+ artist: 'Renaissance',
year: 1975},
- {song: "The 31st of February Street",
- artist: "Cliff Richard",
+ {song: 'The 31st of February Street',
+ artist: 'Cliff Richard',
year: 1975},
- {song: "The Best Years of Our Lives",
- artist: "Steve Harley & Cockney Rebel",
+ {song: 'The Best Years of Our Lives',
+ artist: 'Steve Harley & Cockney Rebel',
year: 1975},
- {song: "Honky Tonk Angel",
- artist: "Cliff Richard",
+ {song: 'Honky Tonk Angel',
+ artist: 'Cliff Richard',
year: 1975},
- {song: "Run Billy Run",
- artist: "The Shadows",
+ {song: 'Run Billy Run',
+ artist: 'The Shadows',
year: 1975},
- {song: "Miss You Nights",
- artist: "Cliff Richard",
+ {song: 'Miss You Nights',
+ artist: 'Cliff Richard',
year: 1975},
- {song: "Wish You Were Here",
- artist: "Pink Floyd",
+ {song: 'Wish You Were Here',
+ artist: 'Pink Floyd',
year: 1975},
- {song: "Devil Woman",
- artist: "Cliff Richard",
+ {song: 'Devil Woman',
+ artist: 'Cliff Richard',
year: 1976},
- {song: "I'm Nearly Famous",
- artist: "Cliff Richard",
+ {song: 'I\'m Nearly Famous',
+ artist: 'Cliff Richard',
year: 1976},
- {song: "Tales of Mystery and Imagination",
- artist: "The Alan Parsons Project",
+ {song: 'Tales of Mystery and Imagination',
+ artist: 'The Alan Parsons Project',
year: 1976},
- {song: "Year of the Cat",
- artist: "Al Stewart",
+ {song: 'Year of the Cat',
+ artist: 'Al Stewart',
year: 1976},
- {song: "It'll Be Me Babe",
- artist: "The Shadows",
+ {song: 'It\'ll Be Me Babe',
+ artist: 'The Shadows',
year: 1976},
- {song: "Tasty",
- artist: "The Shadows",
+ {song: 'Tasty',
+ artist: 'The Shadows',
year: 1977},
- {song: "Every Face Tells a Story",
- artist: "Cliff Richard",
+ {song: 'Every Face Tells a Story',
+ artist: 'Cliff Richard',
year: 1977},
- {song: "I Robot",
- artist: "The Alan Parsons Project",
+ {song: 'I Robot',
+ artist: 'The Alan Parsons Project',
year: 1978},
- {song: "Pyramid",
- artist: "The Alan Parsons Project",
+ {song: 'Pyramid',
+ artist: 'The Alan Parsons Project',
year: 1978},
- {song: "Love You More/Noise Annoys",
- artist: "Buzzcocks",
+ {song: 'Love You More/Noise Annoys',
+ artist: 'Buzzcocks',
year: 1978},
- {song: "Love de Luxe/Sweet Saturday Night",
- artist: "The Shadows",
+ {song: 'Love de Luxe/Sweet Saturday Night',
+ artist: 'The Shadows',
year: 1978},
- {song: "Green Light",
- artist: "Cliff Richard",
+ {song: 'Green Light',
+ artist: 'Cliff Richard',
year: 1978},
- {song: "Small Corners",
- artist: "Cliff Richard",
+ {song: 'Small Corners',
+ artist: 'Cliff Richard',
year: 1978},
- {song: "Go 2",
- artist: "XTC",
+ {song: 'Go 2',
+ artist: 'XTC',
year: 1978},
- {song: "Hank Marvin Guitar Syndicate",
- artist: "Hank Marvin",
+ {song: 'Hank Marvin Guitar Syndicate',
+ artist: 'Hank Marvin',
year: 1978},
- {song: "String of Hits",
- artist: "The Shadows",
+ {song: 'String of Hits',
+ artist: 'The Shadows',
year: 1979},
- {song: "Love Don't Live Here Anymore",
- artist: "Morrissey–Mullen",
+ {song: 'Love Don\'t Live Here Anymore',
+ artist: 'Morrissey–Mullen',
year: 1979},
- {song: "Paradise Skies",
- artist: "Max Webster",
+ {song: 'Paradise Skies',
+ artist: 'Max Webster',
year: 1979},
- {song: "Sky 2",
- artist: "Sky",
+ {song: 'Sky 2',
+ artist: 'Sky',
year: 1980},
- {song: "Change of Address",
- artist: "The Shadows",
+ {song: 'Change of Address',
+ artist: 'The Shadows',
year: 1980},
- {song: "Never for Ever",
- artist: "Kate Bush",
+ {song: 'Never for Ever',
+ artist: 'Kate Bush',
year: 1980},
- {song: "Duran Duran",
- artist: "Duran Duran",
+ {song: 'Duran Duran',
+ artist: 'Duran Duran',
year: 1980},
- {song: "Raiders of the Lost Ark",
- artist: "John Williams",
+ {song: 'Raiders of the Lost Ark',
+ artist: 'John Williams',
year: 1981},
- {song: "Nude",
- artist: "Camel",
+ {song: 'Nude',
+ artist: 'Camel',
year: 1981},
- {song: "Live at Abbey Road",
- artist: "The Shadows",
+ {song: 'Live at Abbey Road',
+ artist: 'The Shadows',
year: 1982},
- {song: "Eye in the Sky",
- artist: "The Alan Parsons Project",
+ {song: 'Eye in the Sky',
+ artist: 'The Alan Parsons Project',
year: 1982},
- {song: "Sivilisaatio",
- artist: "Juice Leskinen Grand Slam",
+ {song: 'Sivilisaatio',
+ artist: 'Juice Leskinen Grand Slam',
year: 1982},
- {song: "Burning Bridges",
- artist: "Naked Eyes",
+ {song: 'Burning Bridges',
+ artist: 'Naked Eyes',
year: 1982},
- {song: "The Final Cut",
- artist: "Pink Floyd",
+ {song: 'The Final Cut',
+ artist: 'Pink Floyd',
year: 1983},
- {song: "Points on the Curve",
- artist: "Wang Chung",
+ {song: 'Points on the Curve',
+ artist: 'Wang Chung',
year: 1983},
- {song: "Russians and Americans",
- artist: "Al Stewart",
+ {song: 'Russians and Americans',
+ artist: 'Al Stewart',
year: 1984},
- {song: "About Face",
- artist: "David Gilmour",
+ {song: 'About Face',
+ artist: 'David Gilmour',
year: 1984},
- {song: "Ammonia Avenue",
- artist: "The Alan Parsons Project",
+ {song: 'Ammonia Avenue',
+ artist: 'The Alan Parsons Project',
year: 1984},
- {song: "Vulture Culture",
- artist: "The Alan Parsons Project",
+ {song: 'Vulture Culture',
+ artist: 'The Alan Parsons Project',
year: 1985},
- {song: "Power Windows",
- artist: "Rush",
+ {song: 'Power Windows',
+ artist: 'Rush',
year: 1985},
- {song: "Signos",
- artist: "Soda Stereo",
+ {song: 'Signos',
+ artist: 'Soda Stereo',
year: 1986},
- {song: "Delicate Sound of Thunder",
- artist: "Pink Floyd",
+ {song: 'Delicate Sound of Thunder',
+ artist: 'Pink Floyd',
year: 1988},
- {song: "Inspiration",
- artist: "Elkie Brooks",
+ {song: 'Inspiration',
+ artist: 'Elkie Brooks',
year: 1989},
- {song: "Phantom Manor at Disneyland Paris",
- artist: "Phantom Manor at Disneyland Paris",
+ {song: 'Phantom Manor at Disneyland Paris',
+ artist: 'Phantom Manor at Disneyland Paris',
year: 1990},
- {song: "Come l'acqua",
- artist: "Mango",
+ {song: 'Come l\'acqua',
+ artist: 'Mango',
year: 1992},
- {song: "Amused to Death",
- artist: "Roger Waters",
+ {song: 'Amused to Death',
+ artist: 'Roger Waters',
year: 1992},
- {song: "Pablo Honey",
- artist: "Radiohead",
+ {song: 'Pablo Honey',
+ artist: 'Radiohead',
year: 1993},
- {song: "The Division Bell",
- artist: "Pink Floyd",
+ {song: 'The Division Bell',
+ artist: 'Pink Floyd',
year: 1994},
- {song: "Ponk!!",
- artist: "Seikima-II",
+ {song: 'Ponk!!',
+ artist: 'Seikima-II',
year: 1994},
- {song: "Wonderful",
- artist: "Adam Ant",
+ {song: 'Wonderful',
+ artist: 'Adam Ant',
year: 1994},
- {song: "The Bends",
- artist: "Radiohead",
+ {song: 'The Bends',
+ artist: 'Radiohead',
year: 1995},
- {song: "To The End (La Comedie)",
- artist: "Blur with Françoise Hardy",
+ {song: 'To The End (La Comedie)',
+ artist: 'Blur with Françoise Hardy',
year: 1995},
- {song: "Come Together",
- artist: "The Smokin' Mojo Filters",
+ {song: 'Come Together',
+ artist: 'The Smokin\' Mojo Filters',
month: 9,
year: 1995},
- {song: "Everything Must Go",
- artist: "Manic Street Preachers",
+ {song: 'Everything Must Go',
+ artist: 'Manic Street Preachers',
year: 1996},
- {song: "Rotator",
- artist: "Dizzy Mizz Lizzy",
+ {song: 'Rotator',
+ artist: 'Dizzy Mizz Lizzy',
year: 1996},
- {song: "Razorblade Suitcase",
- artist: "Bush",
+ {song: 'Razorblade Suitcase',
+ artist: 'Bush',
year: 1996},
- {song: "Knockin' on Heaven's Door/Throw These Guns Away",
- artist: "Dunblane",
+ {song: 'Knockin\' on Heaven\'s Door/Throw These Guns Away',
+ artist: 'Dunblane',
year: 1996},
- {song: "Ultra",
- artist: "Depeche Mode",
+ {song: 'Ultra',
+ artist: 'Depeche Mode',
year: 1996},
- {song: "Terraform",
- artist: "Shellac",
+ {song: 'Terraform',
+ artist: 'Shellac',
year: 1996},
- {song: "Towers Open Fire",
- artist: "Guapo",
+ {song: 'Towers Open Fire',
+ artist: 'Guapo',
year: 1997},
- {song: "Be Here Now",
- artist: "Oasis",
+ {song: 'Be Here Now',
+ artist: 'Oasis',
year: 1997},
- {song: "OK Computer",
- artist: "Radiohead",
+ {song: 'OK Computer',
+ artist: 'Radiohead',
year: 1997},
- {song: "Deeper Underground",
- artist: "Jamiroquai",
+ {song: 'Deeper Underground',
+ artist: 'Jamiroquai',
year: 1997},
- {song: "Fireworks",
- artist: "Angra",
+ {song: 'Fireworks',
+ artist: 'Angra',
year: 1998},
- {song: "This Is My Truth Tell Me Yours",
- artist: "Manic Street Preachers",
+ {song: 'This Is My Truth Tell Me Yours',
+ artist: 'Manic Street Preachers',
year: 1998},
- {song: "Bluesugar",
- artist: "Zucchero",
+ {song: 'Bluesugar',
+ artist: 'Zucchero',
year: 1998},
- {song: "Bocanada",
- artist: "Gustavo Cerati",
+ {song: 'Bocanada',
+ artist: 'Gustavo Cerati',
year: 1999},
- {song: "Apple Venus Volume 1",
- artist: "XTC",
+ {song: 'Apple Venus Volume 1',
+ artist: 'XTC',
year: 1999},
- {song: "Narigón Del Siglo",
- artist: "Divididos",
+ {song: 'Narigón Del Siglo',
+ artist: 'Divididos',
year: 1999},
- {song: "Brothers & Sisters EP",
- artist: "Coldplay",
+ {song: 'Brothers & Sisters EP',
+ artist: 'Coldplay',
year: 1999},
- {song: "Bawitdaba",
- artist: "Kid Rock",
+ {song: 'Bawitdaba',
+ artist: 'Kid Rock',
year: 1999},
- {song: "Parvaaz",
- artist: "Junoon",
+ {song: 'Parvaaz',
+ artist: 'Junoon',
year: 1999},
- {song: "Modern",
- artist: "Buzzcocks",
+ {song: 'Modern',
+ artist: 'Buzzcocks',
year: 1999},
- {song: "Still",
- artist: "Alanis Morissette",
+ {song: 'Still',
+ artist: 'Alanis Morissette',
year: 1999},
- {song: "Metal Jukebox",
- artist: "Helloween",
+ {song: 'Metal Jukebox',
+ artist: 'Helloween',
year: 1999},
- {song: "Watercolours",
- artist: "Jason Kouchak",
+ {song: 'Watercolours',
+ artist: 'Jason Kouchak',
year: 2000},
- {song: "Figure 8",
- artist: "Elliott Smith",
+ {song: 'Figure 8',
+ artist: 'Elliott Smith',
year: 2000},
- {song: "Lightbulb Sun",
- artist: "Porcupine Tree",
+ {song: 'Lightbulb Sun',
+ artist: 'Porcupine Tree',
year: 2000},
- {song: "Narigon Del Siglo",
- artist: "Divididos",
+ {song: 'Narigon Del Siglo',
+ artist: 'Divididos',
year: 2000},
- {song: "Kid A",
- artist: "Radiohead",
+ {song: 'Kid A',
+ artist: 'Radiohead',
year: 2000},
- {song: "No More Shall We Part",
- artist: "Nick Cave and the Bad Seeds",
+ {song: 'No More Shall We Part',
+ artist: 'Nick Cave and the Bad Seeds',
year: 2000},
- {song: "Know Your Enemy",
- artist: "Manic Street Preachers",
+ {song: 'Know Your Enemy',
+ artist: 'Manic Street Preachers',
year: 2001},
- {song: "Origin of Symmetry",
- artist: "Muse",
+ {song: 'Origin of Symmetry',
+ artist: 'Muse',
year: 2001},
- {song: "We Love Life",
- artist: "Pulp",
+ {song: 'We Love Life',
+ artist: 'Pulp',
year: 2001},
- {song: "Blackened Sky",
- artist: "Biffy Clyro",
+ {song: 'Blackened Sky',
+ artist: 'Biffy Clyro',
year: 2002},
- {song: "Dopamin",
- artist: "Böhse Onkelz",
+ {song: 'Dopamin',
+ artist: 'Böhse Onkelz',
year: 2002},
- {song: "Shamans",
- artist: "Aziza Mustafa Zadeh",
+ {song: 'Shamans',
+ artist: 'Aziza Mustafa Zadeh',
year: 2002},
- {song: "East Meets East",
- artist: "Nigel Kennedy and Kroke",
+ {song: 'East Meets East',
+ artist: 'Nigel Kennedy and Kroke',
year: 2003},
- {song: "The Vertigo of Bliss",
- artist: "Biffy Clyro",
+ {song: 'The Vertigo of Bliss',
+ artist: 'Biffy Clyro',
year: 2003},
- {song: "Effloresce",
- artist: "Oceansize",
+ {song: 'Effloresce',
+ artist: 'Oceansize',
year: 2003},
- {song: "Coldplay Live 2003",
- artist: "Coldplay",
+ {song: 'Coldplay Live 2003',
+ artist: 'Coldplay',
year: 2003},
- {song: "Christmas Time (Don't Let the Bells End)",
- artist: "The Darkness",
+ {song: 'Christmas Time (Don\'t Let the Bells End)',
+ artist: 'The Darkness',
year: 2003},
- {song: "Free the Bees",
- artist: "The Bees",
+ {song: 'Free the Bees',
+ artist: 'The Bees',
year: 2004},
- {song: "Blackfield",
- artist: "Blackfield",
+ {song: 'Blackfield',
+ artist: 'Blackfield',
year: 2004},
- {song: "Songs of Darkness, Words of Light",
- artist: "My Dying Bride",
+ {song: 'Songs of Darkness, Words of Light',
+ artist: 'My Dying Bride',
year: 2004},
- {song: "Infinity Land",
- artist: "Biffy Clyro",
+ {song: 'Infinity Land',
+ artist: 'Biffy Clyro',
year: 2004},
- {song: "ClassiKhan",
- artist: "Chaka Khan",
+ {song: 'ClassiKhan',
+ artist: 'Chaka Khan',
year: 2004},
- {song: "Live at Abbey Road Studios 2004",
- artist: "Tim Christensen",
+ {song: 'Live at Abbey Road Studios 2004',
+ artist: 'Tim Christensen',
year: 2004},
- {song: "The Abbey Road Sessions",
- artist: "Steven Curtis Chapman",
+ {song: 'The Abbey Road Sessions',
+ artist: 'Steven Curtis Chapman',
year: 2005},
- {song: "Extraordinary Machine",
- artist: "Fiona Apple",
+ {song: 'Extraordinary Machine',
+ artist: 'Fiona Apple',
year: 2005},
- {song: "By Myself, The Songs of Judy Garland",
- artist: "Linda Eder",
+ {song: 'By Myself, The Songs of Judy Garland',
+ artist: 'Linda Eder',
year: 2005},
- {song: "Everyone Into Position",
- artist: "Oceansize",
+ {song: 'Everyone Into Position',
+ artist: 'Oceansize',
year: 2005},
- {song: "Late Orchestration",
- artist: "Kanye West",
+ {song: 'Late Orchestration',
+ artist: 'Kanye West',
year: 2005},
- {song: "U218 Singles",
- artist: "U2",
+ {song: 'U218 Singles',
+ artist: 'U2',
year: 2006},
- {song: "On An Island",
- artist: "David Gilmour",
+ {song: 'On An Island',
+ artist: 'David Gilmour',
year: 2006},
- {song: "From My Heart",
- artist: "Giorgia Fumanti",
+ {song: 'From My Heart',
+ artist: 'Giorgia Fumanti',
year: 2006},
- {song: "Porque Soy Tempo",
- artist: "Tempo featuring The London Symphony Orchestra",
+ {song: 'Porque Soy Tempo',
+ artist: 'Tempo featuring The London Symphony Orchestra',
year: 2006},
- {song: "Somewhere Else",
- artist: "Marillion",
+ {song: 'Somewhere Else',
+ artist: 'Marillion',
year: 2007},
- {song: "Dark Passion Play",
- artist: "Nightwish",
+ {song: 'Dark Passion Play',
+ artist: 'Nightwish',
year: 2007},
- {song: "Dark Passion Play",
- artist: "Travis",
+ {song: 'Dark Passion Play',
+ artist: 'Travis',
year: 2007},
- {song: "Music of the Spheres",
- artist: "Mike Oldfield",
+ {song: 'Music of the Spheres',
+ artist: 'Mike Oldfield',
year: 2007},
- {song: "Time Machine",
- artist: "Mashina Vremeni",
+ {song: 'Time Machine',
+ artist: 'Mashina Vremeni',
year: 2008},
- {song: "Oogie Boogie's Song",
- artist: "Rodrigo y Gabriela",
+ {song: 'Oogie Boogie\'s Song',
+ artist: 'Rodrigo y Gabriela',
year: 2008},
- {song: "Dig Out Your Soul",
- artist: "Oasis",
+ {song: 'Dig Out Your Soul',
+ artist: 'Oasis',
year: 2008},
- {song: "To Know That You're Alive",
- artist: "Kutless",
+ {song: 'To Know That You\'re Alive',
+ artist: 'Kutless',
year: 2008},
- {song: "Running to Catch",
- artist: "Steve Wilson (of Steve Wilson Band)",
+ {song: 'Running to Catch',
+ artist: 'Steve Wilson (of Steve Wilson Band)',
year: 2008},
- {song: "With This Ship",
- artist: "The Basics",
+ {song: 'With This Ship',
+ artist: 'The Basics',
year: 2008},
- {song: "Pretty. Odd.",
- artist: "Panic! at the Disco",
+ {song: 'Pretty. Odd.',
+ artist: 'Panic! at the Disco',
year: 2008},
- {song: "Cesarians 1",
- artist: "The Cesarians",
+ {song: 'Cesarians 1',
+ artist: 'The Cesarians',
year: 2008},
- {song: "The Butterfly Effect",
- artist: "Diana Yukawa",
+ {song: 'The Butterfly Effect',
+ artist: 'Diana Yukawa',
year: 2009},
- {song: "Home & Minor",
- artist: "Oceansize",
+ {song: 'Home & Minor',
+ artist: 'Oceansize',
year: 2009},
- {song: "My Christmas",
- artist: "Andrea Bocelli",
+ {song: 'My Christmas',
+ artist: 'Andrea Bocelli',
year: 2009},
- {song: "Road To Abbey",
- artist: "J-Rocks",
+ {song: 'Road To Abbey',
+ artist: 'J-Rocks',
year: 2009},
- {song: "Echo",
- artist: "Leona Lewis",
+ {song: 'Echo',
+ artist: 'Leona Lewis',
year: 2009},
- {song: "Keep Your Friends Close",
- artist: "The Basics",
+ {song: 'Keep Your Friends Close',
+ artist: 'The Basics',
year: 2009},
- {song: "Roupa Nova em Londres",
- artist: "Roupa Nova",
+ {song: 'Roupa Nova em Londres',
+ artist: 'Roupa Nova',
year: 2009},
- {song: "400 Years of the Telescope, A Journey of Science, Technology and Thought",
- artist: "Mark Slater",
+ {song: '400 Years of the Telescope, A Journey of Science, Technology and Thought',
+ artist: 'Mark Slater',
year: 2009},
- {song: "The Piano Dreamer",
- artist: "Jan Mulder with The London Symphony Orchestra",
+ {song: 'The Piano Dreamer',
+ artist: 'Jan Mulder with The London Symphony Orchestra',
year: 2010},
- {song: "Il Volo",
- artist: "Il Volo",
+ {song: 'Il Volo',
+ artist: 'Il Volo',
year: 2010},
- {song: "What is Love?",
- artist: "Never Shout Never",
+ {song: 'What is Love?',
+ artist: 'Never Shout Never',
year: 2010},
- {song: "World of Color",
- artist: "Disney California Adventure Park",
+ {song: 'World of Color',
+ artist: 'Disney California Adventure Park',
year: 2010},
- {song: "Love God. Love People.",
- artist: "Israel Houghton",
+ {song: 'Love God. Love People.',
+ artist: 'Israel Houghton',
year: 2010},
- {song: "The Drums",
- artist: "The Drums",
+ {song: 'The Drums',
+ artist: 'The Drums',
year: 2010},
- {song: "/ðəˈbæzɪtʃ/",
- artist: "The Basics",
+ {song: '/ðəˈbæzɪtʃ/',
+ artist: 'The Basics',
year: 2010},
- {song: "Symphonicities",
- artist: "Sting",
+ {song: 'Symphonicities',
+ artist: 'Sting',
year: 2010},
- {song: "Self Preserved While the Bodies Float Up",
- artist: "Oceansize",
+ {song: 'Self Preserved While the Bodies Float Up',
+ artist: 'Oceansize',
year: 2010},
- {song: "Progress",
- artist: "Take That",
+ {song: 'Progress',
+ artist: 'Take That',
year: 2010},
- {song: "Hedonism",
- artist: "Bellowhead",
+ {song: 'Hedonism',
+ artist: 'Bellowhead',
year: 2010},
- {song: "The Fall",
- artist: "Gorillaz",
+ {song: 'The Fall',
+ artist: 'Gorillaz',
year: 2010},
- {song: "L.A. Noire Official Soundtrack",
- artist: "Andrew Hale, Simon Hale, Woody Jackson...",
+ {song: 'L.A. Noire Official Soundtrack',
+ artist: 'Andrew Hale, Simon Hale, Woody Jackson...',
year: 2011},
- {song: "Born This Way",
- artist: "Lady Gaga",
+ {song: 'Born This Way',
+ artist: 'Lady Gaga',
year: 2011},
- {song: "Body & Soul",
- artist: "Tony Bennett & Amy Winehouse",
+ {song: 'Body & Soul',
+ artist: 'Tony Bennett & Amy Winehouse',
year: 2011},
- {song: "Fantasmic!",
- artist: "Royal Philharmonic Orchestra for Tokyo DisneySea",
+ {song: 'Fantasmic!',
+ artist: 'Royal Philharmonic Orchestra for Tokyo DisneySea',
year: 2011},
- {song: "Jhoom",
- artist: "Ali Zafar",
+ {song: 'Jhoom',
+ artist: 'Ali Zafar',
year: 2011},
- {song: "Ceremonials",
- artist: "Florence and The Machine",
+ {song: 'Ceremonials',
+ artist: 'Florence and The Machine',
year: 2011},
- {song: "TRU",
- artist: "Instrumenti",
+ {song: 'TRU',
+ artist: 'Instrumenti',
year: 2011},
- {song: "Unmistakable",
- artist: "Oscar Peterson",
+ {song: 'Unmistakable',
+ artist: 'Oscar Peterson',
year: 2011},
- {song: "Ahora",
- artist: "Pedro Aznar",
+ {song: 'Ahora',
+ artist: 'Pedro Aznar',
year: 2012},
- {song: "The Abbey Road Sessions",
- artist: "Kylie Minogue",
+ {song: 'The Abbey Road Sessions',
+ artist: 'Kylie Minogue',
year: 2012},
- {song: "Bish Bosch",
- artist: "Scott Walker",
+ {song: 'Bish Bosch',
+ artist: 'Scott Walker',
year: 2012},
- {song: "Sriwedari",
- artist: "Maliq & D'Essentials",
+ {song: 'Sriwedari',
+ artist: 'Maliq & D\'Essentials',
year: 2013},
- {song: "Inside and Out",
- artist: "Lucinda Nicholls",
+ {song: 'Inside and Out',
+ artist: 'Lucinda Nicholls',
year: 2013},
- {song: "Rachmaninoff: The Piano Concertos",
- artist: "Valentina Lisitsa, and the London Symphony Orchestra",
+ {song: 'Rachmaninoff: The Piano Concertos',
+ artist: 'Valentina Lisitsa, and the London Symphony Orchestra',
year: 2013},
- {song: "Swings Both Ways",
- artist: "Robbie Williams",
+ {song: 'Swings Both Ways',
+ artist: 'Robbie Williams',
year: 2013},
- {song: "Love Divine II",
- artist: "Jan Mulder with The London Symphony Orchestra",
+ {song: 'Love Divine II',
+ artist: 'Jan Mulder with The London Symphony Orchestra',
year: 2014},
- {song: "Come Find Me",
- artist: "Fox Amoore",
+ {song: 'Come Find Me',
+ artist: 'Fox Amoore',
year: 2014},
- {song: "Live At Abbey",
- artist: "Gigi",
+ {song: 'Live At Abbey',
+ artist: 'Gigi',
year: 2014},
- {song: "The London Session",
- artist: "Umphrey's McGee",
+ {song: 'The London Session',
+ artist: 'Umphrey\'s McGee',
year: 2014},
- {song: "Pirohia",
- artist: "Kerretta",
+ {song: 'Pirohia',
+ artist: 'Kerretta',
year: 2014},
- {song: "Soused",
- artist: "Sunn O",
+ {song: 'Soused',
+ artist: 'Sunn O',
year: 2014},
- {song: "The Lucky Country",
- artist: "The Basics",
+ {song: 'The Lucky Country',
+ artist: 'The Basics',
year: 2014},
- {song: "Holiday for Swing",
- artist: "Seth MacFarlane",
+ {song: 'Holiday for Swing',
+ artist: 'Seth MacFarlane',
year: 2014},
- {song: "Primeira Fila",
- artist: "Roberto Carlos",
+ {song: 'Primeira Fila',
+ artist: 'Roberto Carlos',
year: 2015},
- {song: "The Age of Entitlement",
- artist: "The Basics",
+ {song: 'The Age of Entitlement',
+ artist: 'The Basics',
year: 2015},
- {song: "No One Ever Tells You",
- artist: "Seth MacFarlane",
+ {song: 'No One Ever Tells You',
+ artist: 'Seth MacFarlane',
year: 2015},
- {song: "Naked at the Abbey",
- artist: "Motopony",
+ {song: 'Naked at the Abbey',
+ artist: 'Motopony',
year: 2015},
- {song: "Fear Without Progression",
- artist: "The Aultones",
+ {song: 'Fear Without Progression',
+ artist: 'The Aultones',
year: 2015},
- {song: "Love Divine III",
- artist: "Jan Mulder with The Royal Philharmonic Orchestra",
+ {song: 'Love Divine III',
+ artist: 'Jan Mulder with The Royal Philharmonic Orchestra',
year: 2016}];
diff --git a/starter-code/lib/harryPotter.js b/starter-code/lib/harryPotter.js
index 705ed60..e2e10b1 100644
--- a/starter-code/lib/harryPotter.js
+++ b/starter-code/lib/harryPotter.js
@@ -1,10 +1,10 @@
- var birthdays = ["Severus Snape", "9 January", "Arthur Weasley", "6 February",
- "Ron Weasley", "1 March", "Remus Lupin", "10 March",
- "Fred & George Weasley", "1 April", "Pomona Sprout", "15 May",
- "Draco Malfoy", "5 June", "Dobby", "28 June",
- "Neville Longbottom", "30 July", "Harry Potter", "31 July",
- "Ginevra Weasley", "11 August", "Percy Weasley ", "22 August",
- "Hermione Granger", "19 September", "Minerva McGonagall",
- "4 October", "Filius Flitwick", "17 October", "Molly Weasley",
- "30 October", "Bill Weasley", "29 November", "Rubeus Hagrid",
- "6 December", "Charlie Weasley", "12 December"];
+ var birthdays = ['Severus Snape', '9 January', 'Arthur Weasley', '6 February',
+ 'Ron Weasley', '1 March', 'Remus Lupin', '10 March',
+ 'Fred & George Weasley', '1 April', 'Pomona Sprout', '15 May',
+ 'Draco Malfoy', '5 June', 'Dobby', '28 June',
+ 'Neville Longbottom', '30 July', 'Harry Potter', '31 July',
+ 'Ginevra Weasley', '11 August', 'Percy Weasley ', '22 August',
+ 'Hermione Granger', '19 September', 'Minerva McGonagall',
+ '4 October', 'Filius Flitwick', '17 October', 'Molly Weasley',
+ '30 October', 'Bill Weasley', '29 November', 'Rubeus Hagrid',
+ '6 December', 'Charlie Weasley', '12 December'];
diff --git a/starter-code/src/main.js b/starter-code/src/main.js
new file mode 100644
index 0000000..ac38dfb
--- /dev/null
+++ b/starter-code/src/main.js
@@ -0,0 +1,215 @@
+//Iteration 1 - The Office
+
+// Array of survey answers.
+const responses = [
+ "This is the best job ever!",
+ "Satisfied.",
+ "At least I get paid.",
+ "I'm looking for another job.",
+ "I don't want to answer."
+];
+
+// Selects at random an element from responses.
+function selectAtRandom(arr) {
+ return arr[Math.floor(Math.random() * arr.length)];
+}
+
+// Creates an array of 10 random responses.
+function makingUpDepAnswers(arr) {
+ let depAnswers = [];
+ while(depAnswers.length < 10) {
+ depAnswers.push(selectAtRandom(arr));
+ }
+
+ return depAnswers;
+}
+
+function makeAllDepAnswers(arr) {
+ let allDepAnswers = [];
+ while(allDepAnswers.length < 5) {
+ allDepAnswers.push(makingUpDepAnswers(arr));
+ }
+
+ return allDepAnswers;
+}
+
+// console.log(makeAllDepAnswers(responses));
+
+// Iteration 2 - Harry Potter's Birthday
+
+var birthdays = [
+ 'Severus Snape', '9 January', 'Arthur Weasley', '6 February',
+ 'Ron Weasley', '1 March', 'Remus Lupin', '10 March',
+ 'Fred & George Weasley', '1 April', 'Pomona Sprout', '15 May',
+ 'Draco Malfoy', '5 June', 'Dobby', '28 June',
+ 'Neville Longbottom', '30 July', 'Harry Potter', '31 July',
+ 'Ginevra Weasley', '11 August', 'Percy Weasley ', '22 August',
+ 'Hermione Granger', '19 September', 'Minerva McGonagall',
+ '4 October', 'Filius Flitwick', '17 October', 'Molly Weasley',
+ '30 October', 'Bill Weasley', '29 November', 'Rubeus Hagrid',
+ '6 December', 'Charlie Weasley', '12 December'
+];
+
+// Organize birthday
+function organizeBdays(arr) {
+ let organizedBdays = [];
+ arr.forEach(elem => {
+ if (arr.indexOf(elem) % 2 === 0) {
+ let singlePerson = [];
+ singlePerson.push(elem, arr[arr.indexOf(elem) + 1]);
+ organizedBdays.push(singlePerson);
+ }
+ })
+
+ return organizedBdays;
+}
+
+// Array with additional bdays
+let moreBirthdays = [
+ 'Lily Evans', '30 January', 'James Potter', '27 March', 'Dudley Dursley', '30 June', 'Tom Riddle', '31 December'
+];
+
+// Combining the content of the two bday arrays
+function combineArr(arr1, arr2) {
+ let bigMessyArr = arr1.concat(arr2);
+ return organizeBdays(bigMessyArr);
+}
+
+// console.log(combineArr(birthdays, moreBirthdays));
+
+// Iteration 3 - The Password Problem
+
+// Checking for repeated characters
+let noRepeatChar = function(password) {
+ for (let char = 0; char < password.length; char++) {
+ if (password.indexOf(password[char], char + 1) !== -1 ) {
+ return 'Ouch, bad password.';
+ }
+ }
+
+ return 'Good password.';
+};
+
+// let goodPsswd = '1234567890';
+// let badPsswd = '1123456';
+
+// console.log(noRepeatChar(goodPsswd));
+// // 'Good password.'
+
+// console.log(noRepeatChar(badPsswd));
+// // 'Ouch, bad password.'
+
+// Checking if the password has just numbers
+let onlyNumbers = function(password) {
+ if (isNaN(password)) {
+ return 'Ouch, bad password.';
+ }
+
+ return 'Good password.';
+};
+
+// let goodPsswd = '1234567890';
+// let badPsswd = '1a234567890';
+
+// console.log(onlyNumbers(goodPsswd));
+// // 'Good password.'
+
+// console.log(onlyNumbers(badPsswd));
+// // 'Ouch, bad password.'
+
+// Trimming strings over 10 characters
+let trimPassword = function (password) {
+ return password.slice(0, 10);
+};
+
+let goodPsswd = '1234567890';
+let badPsswd = '12345678901234567890';
+
+// console.log(trimPassword(badPsswd));
+// // '1234567890'
+
+// Iteration 4 - Abbey Road Studios
+
+let abbeyRoadRecords = [
+ {song: 'Land of Hope and Glory', artist: 'Sir Edward Elgar', month: 11, year: 1931},
+ {song: 'Elgar violin concerto', artist: 'Yehudi Menuhin', month: 07, year: 1932},
+ {song: 'Piano Sonata, Funerailles', artist: 'Yehudi Menuhin', month: 11, year: 1932},
+ {song: '', artist: 'Richard Tauber', month: 11, year: 1933},
+ {song: 'Suits No. 1 & 2 Johann Sebastian Bach\'s Cello Suites', artist: 'Pablo Casals', month: 11, year: 1933},
+ {song: 'Suits No. 1 & 2 Johann Sebastian Bach\'s Cello Suites', artist: 'Pablo Casals', month: 11, year: 1936},
+ {song: 'I Can\'t Give You Anything but Love', artist: 'Adelaide Hall and Fats Waller', month: 08, year: 1938},
+ {song: 'Symphony No. 5', artist: 'Vaughan Williams', year: 1943},
+ {song: 'Help', artist: 'The Beatles', year: 1965},
+ {song: 'Rubber Soul', artist: 'The Beatles', year: 1965},
+ {song: 'Revolver', artist: 'The Beatles', year: 1966},
+ {song: 'The Beatles (aka \'The White song\')', artist: 'The Beatles', year: 1968},
+ {song: 'Bloodsucker', artist: 'Deep Purple', month: 11, year: 1969},
+ {song: 'Shades of Rock', artist: 'The Shadows', year: 1970},
+]
+
+// Names of artists who recorded in November
+let novemberArtists = function(arr) {
+ let arrOfArtists = [];
+ arr.forEach(obj => {
+ if (obj.month === 11) {
+ arrOfArtists.push(obj.artist);
+ }
+ })
+
+ return arrOfArtists;
+};
+
+// console.log(novemberArtists(abbeyRoadRecords));
+
+// Name of the artist who rocerded more songs
+let findBestArtist = function(arr) {
+ let artistArr = [];
+ let recordCounter = 0;
+ let bestArtist = '';
+ let tempCounter = 1;
+ arr.forEach(obj => { artistArr.push(obj.artist); });
+ let sortedArtists = artistArr.sort();
+ for (let i = 0; i < sortedArtists.length; i++) {
+ if (sortedArtists[i] === sortedArtists[i + 1]) {
+ tempCounter++;
+ if (tempCounter > recordCounter) {
+ recordCounter = tempCounter;
+ bestArtist = sortedArtists[i];
+ }
+ } else {
+ tempCounter = 1;
+ }
+ }
+
+ return bestArtist;
+};
+
+// console.log(findBestArtist(abbeyRoadRecords));
+
+// Find last Beatles song
+let findLastBeatlesSong = function(arr) {
+ let lastBeatlesSong = {year: 0};
+ for (let i = 0; i < arr.length; i++) {
+ if (arr[i].artist === 'The Beatles' && arr[i].year > lastBeatlesSong.year) {
+ lastBeatlesSong = arr[i];
+ }
+ }
+
+ return lastBeatlesSong;
+};
+
+// console.log(findLastBeatlesSong(abbeyRoadRecords));
+
+// Find last 60's song
+let findLastSixtiesSong = function(arr) {
+ let lastSixtiesSong = {year: 0};
+ arr.forEach(elem => {
+ if (elem.year >= lastSixtiesSong.year && elem.year < 1970) {
+ lastSixtiesSong = elem;
+ }
+ })
+
+ return lastSixtiesSong;
+};
+
+console.log(findLastSixtiesSong(abbeyRoadRecords));
\ No newline at end of file