{"action":"opened","issue":{"url":"https://api.github.com/repos/amadeot/wdi-project-one/issues/1","labels_url":"https://api.github.com/repos/amadeot/wdi-project-one/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/amadeot/wdi-project-one/issues/1/comments","events_url":"https://api.github.com/repos/amadeot/wdi-project-one/issues/1/events","html_url":"https://github.com/amadeot/wdi-project-one/issues/1","id":115539302,"number":1,"title":"having trouble seeing / selecting IDs in JQuery","user":{"login":"amadeot","id":15003244,"avatar_url":"https://avatars.githubusercontent.com/u/15003244?v=3","gravatar_id":"","url":"https://api.github.com/users/amadeot","html_url":"https://github.com/amadeot","followers_url":"https://api.github.com/users/amadeot/followers","following_url":"https://api.github.com/users/amadeot/following{/other_user}","gists_url":"https://api.github.com/users/amadeot/gists{/gist_id}","starred_url":"https://api.github.com/users/amadeot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amadeot/subscriptions","organizations_url":"https://api.github.com/users/amadeot/orgs","repos_url":"https://api.github.com/users/amadeot/repos","events_url":"https://api.github.com/users/amadeot/events{/privacy}","received_events_url":"https://api.github.com/users/amadeot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-06T16:28:34Z","updated_at":"2015-11-06T16:28:34Z","closed_at":null,"body":"heyyy @phlco \r\n\r\nSo I've - made nothing happen until the start button is clicked\r\n            - made it so if you click on a button a goat pops up\r\n            - made it so when start is pressed, a random button is added to an array\r\n\r\nright now I'm trying to make the button that is added to the array  is then turned into a goat for a moment the same way that it is turned when it is clicked.\r\n\r\nthis happens on lines 45-62\r\n\r\nI've tried so many different ways, from brute-forcing $firstGoat (without the id selector) to equal exactly what displays when i type $firstGoat, to a few different ways of selecting I've found online, but nothing works. I can tell the issue is related to $firstGoat.id being undefined, but can't figure out how to make sure it gets defined? I'm two hours deep into a rabbit hole of different crazy methods and have no idea what to try next.\r\n\r\nThanks!\r\n"}}