🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Ravel Oliveira
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Ravel Oliveira
    Front End Web Development Techdegree Student 10,869 Points

    Why am i getting the 'Bummer: Both the `reduce` and `filter` methods have not been called yet.' ERROR?

    Posted October 14, 2024 6:41pm by Ravel Oliveira
    .a{fill-rule:evenodd;}techdegree
    Ravel Oliveira
    Front End Web Development Techdegree Student 10,869 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Amy Preci
    Amy Preci
    6,247 Points

    Did anyone else get an error when adding .toFixed(2)?

    Posted February 2, 2023 2:50am by Amy Preci
    Amy Preci
    6,247 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Cole Smith
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Cole Smith
    Web Development Techdegree Student 13,802 Points

    how do I complete this callback function?

    Posted April 4, 2022 7:17pm by Cole Smith
    .a{fill-rule:evenodd;}techdegree
    Cole Smith
    Web Development Techdegree Student 13,802 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Keytron Brown
    Keytron Brown
    15,828 Points

    Unexpected Token '{'

    Posted November 4, 2021 5:05am by Keytron Brown
    Keytron Brown
    15,828 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • ramoshe
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    ramoshe
    Full Stack JavaScript Techdegree Graduate 25,795 Points

    Why is it telling me "Both the `reduce` and `filter` have not been called?

    Posted July 1, 2021 9:51pm by ramoshe
    .a{fill-rule:evenodd;}techdegree seal-36
    ramoshe
    Full Stack JavaScript Techdegree Graduate 25,795 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Kennedy Malonga
    Kennedy Malonga
    18,790 Points

    help please

    Posted June 8, 2021 3:59am by Kennedy Malonga
    Kennedy Malonga
    18,790 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    2 Answers

  • Joe Mbome
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Joe Mbome
    Front End Web Development Techdegree Graduate 17,250 Points

    Using the filter and reduce methods on the purchaseItems array, add the total price of all the groceries (items with a d

    Posted March 26, 2021 8:40pm by Joe Mbome
    .a{fill-rule:evenodd;}techdegree seal-36
    Joe Mbome
    Front End Web Development Techdegree Graduate 17,250 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    2 Answers

  • Ryohei Mahiko
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ryohei Mahiko
    Front End Web Development Techdegree Graduate 13,950 Points

    Both the `reduce` and `filter` methods have not been called yet?

    Posted August 4, 2020 11:38pm by Ryohei Mahiko
    .a{fill-rule:evenodd;}techdegree seal-36
    Ryohei Mahiko
    Front End Web Development Techdegree Graduate 13,950 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    2 Answers

  • Zachary Danz
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Zachary Danz
    Front End Web Development Techdegree Graduate 15,024 Points

    Adding the .toFixed(2) Method results in this quiz failing

    Posted May 26, 2020 7:46pm by Zachary Danz
    .a{fill-rule:evenodd;}techdegree seal-36
    Zachary Danz
    Front End Web Development Techdegree Graduate 15,024 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    2 Answers

  • Martin Coton
    Martin Coton
    3,015 Points

    My solution works, check fails it however.

    Posted May 6, 2020 3:41pm by Martin Coton
    Martin Coton
    3,015 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    2 Answers

  • MIHA W.LEE
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    MIHA W.LEE
    PHP Development Techdegree Graduate 25,452 Points

    About reduce() and filter()

    Posted October 29, 2019 7:00am by MIHA W.LEE
    .a{fill-rule:evenodd;}techdegree seal-36
    MIHA W.LEE
    PHP Development Techdegree Graduate 25,452 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Steven mudie
    Steven mudie
    5,523 Points

    bug in the learning material

    Posted May 21, 2019 10:22am by Steven mudie
    Steven mudie
    5,523 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Ali .
    Ali .
    15,522 Points

    What's wrong?

    Posted May 15, 2019 8:15am by Ali .
    Ali .
    15,522 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Brian Johnson
    seal-mask
    PLUS
    .a{fill-rule:evenodd;}techdegree seal-36
    Brian Johnson
    Front End Web Development Techdegree Graduate 20,818 Points

    These JavaScript problems are difficult. Can someone tell me what I'm wrong?

    Posted December 31, 2018 12:19pm by Brian Johnson
    .a{fill-rule:evenodd;}techdegree seal-36
    Brian Johnson
    Front End Web Development Techdegree Graduate 20,818 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    2 Answers

  • Joshua Landi
    Joshua Landi
    3,643 Points

    Says .filter and .reduce have not been called when they have.

    Posted December 27, 2018 6:48pm by Joshua Landi
    Joshua Landi
    3,643 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Humoyunmirzo Nosirov
    PLUS
    Humoyunmirzo Nosirov
    Courses Plus Student 5,154 Points

    please anyone , give me some help

    Posted August 31, 2018 3:47am by Humoyunmirzo Nosirov
    Humoyunmirzo Nosirov
    Courses Plus Student 5,154 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Kaitlyn Dodds
    Kaitlyn Dodds
    32,545 Points

    Not sure this code challenge is working correctly.

    Posted April 24, 2018 8:40pm by Kaitlyn Dodds
    Kaitlyn Dodds
    32,545 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • ludopuig
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ludopuig
    Full Stack JavaScript Techdegree Student 6,436 Points

    not working

    Posted April 20, 2018 3:56pm by ludopuig
    .a{fill-rule:evenodd;}techdegree
    ludopuig
    Full Stack JavaScript Techdegree Student 6,436 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    2 Answers

  • Giovanni Quaglia
    Giovanni Quaglia
    1,829 Points

    I can't get why i can't pass the test. The code seems to work on JS Bin, but here it does not

    Posted December 11, 2017 7:00am by Giovanni Quaglia
    Giovanni Quaglia
    1,829 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Ioana Rusu
    Ioana Rusu
    9,599 Points

    Help with this challenge

    Posted November 17, 2017 12:20pm by Ioana Rusu
    Ioana Rusu
    9,599 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 91,254 Points

    Problem with the reducer method for getting total of groceries

    Posted November 8, 2017 3:35pm by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 91,254 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    1 Answer

  • Doug Hawkinson
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Doug Hawkinson
    Full Stack JavaScript Techdegree Student 25,073 Points

    There is something really bizarre going on with this challenge. Fails in the challenge workspace, but on offline.

    Posted November 2, 2017 6:08pm by Doug Hawkinson
    .a{fill-rule:evenodd;}techdegree
    Doug Hawkinson
    Full Stack JavaScript Techdegree Student 25,073 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    2 Answers

  • Anik Devaughn
    Anik Devaughn
    7,751 Points

    Challenge Task 1: Using the filter and reduce methods on the purchaseItems array, add the total price of all the......

    Posted October 29, 2017 11:29pm by Anik Devaughn
    Anik Devaughn
    7,751 Points
    • JavaScript
    • JavaScript Array Iteration Methods
    • Combining Array Methods
    • Combining filter() and reduce()

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.