Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Organization helps us to use things more effectively. The first step in organization is grouping things. A collection object can hold a group of objects and allow us to perform actions on these objects. We're going to create a simple collection class with the specific methods we want to use.
More Advanced Collections
Challenges
Here are some suggestions for more control of the recipes in the collection:
- removeRecipe
- removeRecipeById
- clearRecipes
- addRecipes
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
PLUS
Steve Seebart
Courses Plus Student 11,897 Points0 Answers
-
Samandar Mirzayev
11,834 Points1 Answer
-
György Varga
19,198 Points1 Answer
-
Abhijeet Ghosh
5,918 Points1 Answer
-
Tibor Katai
2,102 PointsAlena why not use print_r() function, surround in <pre> html tag?
Posted by Tibor KataiTibor Katai
2,102 Points1 Answer
-
Trần Phúc
2,264 Points1 Answer
-
Tom Hudock
855 Points0 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up