Currently, I am developing an app on code.org that allows users to input their subject scores and receive their corresponding grades. The final output includes the average score across all subjects. However, I have encountered a limitation where I can only include up to four subjects due to the need to click a button for each separate entry. I am seeking a solution to prompt the user for input until they enter a string, and then calculate the total average for all entered subjects. Link to current code: