{"action":"opened","issue":{"url":"https://api.github.com/repos/LearnTeachCode/pair-partners/issues/56","repository_url":"https://api.github.com/repos/LearnTeachCode/pair-partners","labels_url":"https://api.github.com/repos/LearnTeachCode/pair-partners/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/LearnTeachCode/pair-partners/issues/56/comments","events_url":"https://api.github.com/repos/LearnTeachCode/pair-partners/issues/56/events","html_url":"https://github.com/LearnTeachCode/pair-partners/issues/56","id":236540272,"number":56,"title":"Up for grabs: Create an example of the Firebase child() method","user":{"login":"LearningNerd","id":1555022,"avatar_url":"https://avatars0.githubusercontent.com/u/1555022?v=3","gravatar_id":"","url":"https://api.github.com/users/LearningNerd","html_url":"https://github.com/LearningNerd","followers_url":"https://api.github.com/users/LearningNerd/followers","following_url":"https://api.github.com/users/LearningNerd/following{/other_user}","gists_url":"https://api.github.com/users/LearningNerd/gists{/gist_id}","starred_url":"https://api.github.com/users/LearningNerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LearningNerd/subscriptions","organizations_url":"https://api.github.com/users/LearningNerd/orgs","repos_url":"https://api.github.com/users/LearningNerd/repos","events_url":"https://api.github.com/users/LearningNerd/events{/privacy}","received_events_url":"https://api.github.com/users/LearningNerd/received_events","type":"User","site_admin":false},"labels":[{"id":620972943,"url":"https://api.github.com/repos/LearnTeachCode/pair-partners/labels/challenge","name":"challenge","color":"FF8300","default":false},{"id":616237875,"url":"https://api.github.com/repos/LearnTeachCode/pair-partners/labels/up%20for%20grabs","name":"up for grabs","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-16T17:03:19Z","updated_at":"2017-06-16T17:03:19Z","closed_at":null,"body":"⭐️ **This challenge is up for grabs!** Claim it by clicking ***\"assign yourself\"*** on the right, under the \"Assignees\" section for this GitHub issue! You can work on this by yourself or in pairs.\r\n\r\n✔️ **To complete this challenge:** Post a comment at the bottom of this page with some instructions and sample code, so the rest of our team can learn how to use this new Firebase method by reading your comment!\r\n\r\n**You can edit your comment at any point** to update your answer, so you don't have to do these all at once! To edit your comment after you publish it, click the pencil icon in the top right corner of your comment:\r\n![github-edit-comments](https://user-images.githubusercontent.com/1555022/27059741-06de4e70-4f8d-11e7-9076-53de602e5c6a.png)\r\n\r\n❓ **If you have any questions,** please post a comment at the bottom of this page! (You can also ask us on Slack, but please post a comment here too so we can more easily reference it later.)\r\n\r\n## About the Firebase `child` method\r\n\r\n📚 **Official documentation:** [Firebase API section on the `child` method](https://firebase.google.com/docs/reference/js/firebase.database.Reference#child)\r\n\r\nThe `child` method lets you access a location in a Firebase database, *relative to another location* in the database! It's often used along with the `remove` method -- see [\"Create an example of the Firebase remove() method\"](https://github.com/LearnTeachCode/pair-partners/issues/51).\r\n\r\n## Your challenge\r\n\r\n🏆 **The goal:** learn how this method works, test it out for yourself, and then post a comment at the bottom of this page with some instructions and sample code to help teach the rest of our team!\r\n\r\n**Questions to keep in mind:**\r\n\r\n  - What does the official documentation say about this method?\r\n  - When would we need to use this method? What are some example use cases? (Write some sample code for us, please!)\r\n  - When should we ***not*** use this method? Can you think of any scenarios where using this method would cause errors or unintended side effects?\r\n  - How many inputs does this method require, if any? What data types can the inputs be?\r\n  - What does this method return as an output, if any? What data type is returned?\r\n  - If there are different options for inputs, how does this method behave differently depending on the different possible input(s)?"}}
{"actor":{"display_login":"LearningNerd"}}