Instead of doing this for a single particular goal, you can make the code work on any goal using the class "goal", which would be added by the Rails helper I suggested earlier. Then your code could look like this:

```js
$('li.goal button').on('click', function(e) {
  $(e.target).parents('li.goal').find('.text').append('working?');
});
```

Overall, I think I would suggest changing the class named `text` to be named `name` instead, which would mean changing it in the `_goal.html.erb` partial and here.