here is a dynamic webpage problem that i would like some feedback on.
the goal is to automate this webpage and generate a letter grade based on user scores for each of a couple dozen questions. I would use html input elements to capture the question answers as numbers (either a 0, 1, or 2).
ideally, the page would be able to show the final grade on the same page as the original questions by just updating a form element output variable rather than re-directing the user to separate webpage to display the grade.
additionally, my goal is to keep a running total (counter) for how many users have filled out the form and displaying the average grade as time goes forward.
this is currently a static page, but my host offers server SQL database functionality, so i should be able to submit a series of PUT or POST operations and retrieve a GET of the calculated grade… if i’m understanding this right.
any direction or pointers toward study materials that address this sort of problem would be greatly appreciated.
thanks in advance.