Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Practice Object Interaction Checking Out and Returning a Book Solution: Charging Fines to Patrons

Juneau Lim
Juneau Lim
13,362 Points

Where can I learn/practice functions like filter?

I have already gone through ES6 course but didn't saw one. I really want to learn it in detail. Is there a course here that I can do it?

2 Answers

Terri Navarra
Terri Navarra
3,091 Points

I've found edabit.com to be a great way to get practice to functions like filter. I also highly recommend checking out Wes Boss's 30 days of javascript challenge. Array Cardio days 1 & 2 really helped me start to grasp how array functions work.

Juneau Lim
Juneau Lim
13,362 Points

Wow, that looks amazing. thank you so much for that!

Dane Parchment
MOD
Dane Parchment
Treehouse Moderator 11,077 Points

In terms of tutorials, there are a few, but honestly, they cost a lot of money, so instead, I will refer you to the Mozilla Developer Network JavaScript Portal. It's a really great place to learn about JavaScript and provides great writeups on most of the features found in JavaScript, as well as an API Reference. Here is the reference for the .filter() method.

In terms of practice, I mean...practice? Open up a text editor and play around with filter to find out how it works. I mean, think. What would you use a filter for? Then try to build some of those ideas. For example, make an image gallery and then implement a filter for it, or implement a search box with a filtered autocomplete. Maybe just go simple and try to filter out elements in an array. There is a lot you can do, you just have to dive in and do it.