Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Sam Murphy
    Sam Murphy
    10,469 Points

    Need help on the Using Filters code challenge

    Posted December 1, 2016 5:05pm by Sam Murphy
    Sam Murphy
    10,469 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Filter

    2 Answers

  • Sam Murphy
    Sam Murphy
    10,469 Points

    Need Help on Using Flat Map Code Challenge!

    Posted November 30, 2016 5:10pm by Sam Murphy
    Sam Murphy
    10,469 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Flat Map

    1 Answer

  • Peyton Watkins
    Peyton Watkins
    7,946 Points

    Can somebody help me get pass this please?

    Posted November 30, 2016 2:19pm by Peyton Watkins
    Peyton Watkins
    7,946 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Flat Map

    1 Answer

  • Jared Welch
    Jared Welch
    5,616 Points

    Code Challenge

    Posted November 29, 2016 6:53pm by Jared Welch
    Jared Welch
    5,616 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Filter

    1 Answer

  • Jared Welch
    Jared Welch
    5,616 Points

    Code Challenge

    Posted November 29, 2016 6:44pm by Jared Welch
    Jared Welch
    5,616 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Flat Map

    1 Answer

  • Bala Selvam
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Bala Selvam
    Python Development Techdegree Student 30,590 Points

    Hey guys i have no idea what I am getting wrong here. Can someone help me out with this?

    Posted October 17, 2016 2:35pm by Bala Selvam
    .a{fill-rule:evenodd;}techdegree
    Bala Selvam
    Python Development Techdegree Student 30,590 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Flat Map

    0 Answers

  • Fredrik Gustafsson
    Fredrik Gustafsson
    3,495 Points

    Getting the wrong date in Formatted array

    Posted October 2, 2016 6:55pm by Fredrik Gustafsson
    Fredrik Gustafsson
    3,495 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Map

    0 Answers

  • Wei Wei
    Wei Wei
    8,201 Points

    There are only 3 elements in the dataStrings array.Why the console on the right shows 4 times after we call the map func

    Posted September 30, 2016 7:18am by Wei Wei
    Wei Wei
    8,201 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Map

    0 Answers

  • Bala Selvam
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Bala Selvam
    Python Development Techdegree Student 30,590 Points

    Apply the filter function on the numbers array provided to end up with an array of odd numbers. Assign the value to a

    Posted September 27, 2016 1:19am by Bala Selvam
    .a{fill-rule:evenodd;}techdegree
    Bala Selvam
    Python Development Techdegree Student 30,590 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Filter

    1 Answer

  • Bala Selvam
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Bala Selvam
    Python Development Techdegree Student 30,590 Points

    Need help with this Problem i can't figure it out

    Posted September 21, 2016 2:24am by Bala Selvam
    .a{fill-rule:evenodd;}techdegree
    Bala Selvam
    Python Development Techdegree Student 30,590 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Flat Map

    0 Answers

  • Chris Smith
    Chris Smith
    6,791 Points

    I'm stuck on the Reduce Function Swift task. Please help!

    Posted September 19, 2016 7:56am by Chris Smith
    Chris Smith
    6,791 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Reduce

    1 Answer

  • Muhammad Ali
    Muhammad Ali
    4,386 Points

    Can Someone help with this challenge?

    Posted August 14, 2016 9:07pm by Muhammad Ali
    Muhammad Ali
    4,386 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Reduce

    2 Answers

  • Jeremy Yi
    Jeremy Yi
    9,512 Points

    Hi, Pasan. What is the static key word stand for within the Formatter struct?

    Posted August 2, 2016 7:17pm by Jeremy Yi
    Jeremy Yi
    9,512 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Map

    1 Answer

  • Christine Chang
    Christine Chang
    1,917 Points

    Getting Map, Reduce, Filter, and Sort straight

    Posted June 14, 2016 4:49pm by Christine Chang
    Christine Chang
    1,917 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Reduce

    1 Answer

  • Arthur Rubio
    Arthur Rubio
    4,657 Points

    I'm having difficulty with the challenge : Use the map function to iterate over the numbers array

    Posted May 26, 2016 9:33pm by Arthur Rubio
    Arthur Rubio
    4,657 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Using Map

    2 Answers

  • Reed Carson
    Reed Carson
    8,306 Points

    Please explain what this closure is doing

    Posted May 5, 2016 12:46am by Reed Carson
    Reed Carson
    8,306 Points
    • iOS
    • Closures in Swift 2
    • Building Standard Library Functions
    • Flat Map

    4 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord