<li>
  <%= request.requester.first_name %> said: <%= request.content %>
  At <%= request.created_at %>
  <% if request.requester == current_user %>
    <%= button_to "Cancel Request", request, class: 'button', method: 'delete' %>
  <% elsif request.responder == nil %>
    <%= button_to 'Be a neighbor!', request, class: 'button', method: 'patch' %>
  <% else %>
  <p> Someone is already being a neighbor to <%= request.requester.first_name %>. Thanks for checking!
    <%= button_to 'Return to Home', root_path %>
  <% end %>
</li>

<li class="request" data-id="<%= request.id %>">
  <%= request.requester.first_name %> said: <%= request.content %>
  At <%= request.created_at %>
  <% if request.requester == current_user %>
    <%= button_to "Cancel Request", request, class: 'button', method: 'delete' %>
  <% elsif request.responder == nil %>
    <%= button_to 'Be a neighbor!', request, class: 'button', method: 'patch' %>
  <% else %>
  <p> Someone is already being a neighbor to <%= request.requester.first_name %>. Thanks for checking!
    <%= button_to 'Return to Home', root_path %>
  <% end %>
</li>

Add a data-id and class attribute to the list item created by the request partial.
Add a data-id and class attribute to the list item created by the
request partial.

This will be helpful in styling later.
