First time building an accordion, as it were. In the app.js file, you'll notice I wrote many variables to individually target each question and answer element. I wrote the same logic twice because I don't know how to loop through each target without getting errors. Thanks always for any feedback. Current following this code-along to troubleshoot and debug.
https://www.youtube.com/watch?v=FboXxLxg8eo&t=337s
Other notes:
I don't know how to center the <hr> tag. I don't understand what it is that enables margin and padding to apply or why it doesn't.