Currently developing a Django website for an online multiple-choice test. Each question will display the question text, radio buttons for answers, and a submit button. After selecting an answer, the user receives feedback: either a green "Correct" or red "Incorrect", along with a button to move on to the next question.
Seeking advice on the best approach in Django. Considering having separate templates for questions and feedback, each with its own view function. Passing variables for question text and possible answers seems effective. However, unsure how to dynamically change CSS based on the feedback (green for "Correct", red for "Incorrect"). Is it better to have distinct templates for each feedback case?
Appreciate any guidance provided.