Job description
I need help with improving, streamlining, and finalizing my Google Apps Script code.
The code is supposed to collect responses from users and calculate the percentage of responses that fall into specific categories (e.g., answer A is category 1, answer B is category 2, etc.).
The result should be sent to the user via email in the following format: 10% category 1, 30% category 2, 50% category 3, 10% category 4.
I've already done the calculations and assigned points correctly, but I'm having issues with email verification and new rows being created in the spreadsheet.
It's likely a simple bug, but since I'm deep into it, I can't see it myself. I need help from someone with an outside perspective.
Check the screenshots to understand the problem better.