Ex 5/11 This error will make you lose faith in humanity


#1



Buzzfeed, you've got nothing on me!

https://www.codecademy.com/courses/learn-angularjs/lessons/your-first-app/exercises/your-first-app-filters-ii?action=lesson_resume


I've added pubdate like the instructions said to, but no go. The error message is:
Did you add pubdate as a third property inside $scope.product?

My code cannot be displayed, cuz the website won't let me show it. It keeps running it :wink:


#2

Here is my first entry from the $scope.products array (all other entries follow the same pattern):

{
name: 'The Book of Trees',
price: 19,
pubdate: new Date('2014', '03', '08'),
cover: 'img/the-book-of-trees.jpg',
likes: 0,
dislikes: 0
}

Does you code look the same?


#3

Thank you, but I solved it already. I just forgot to post. :flushed:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.