I am making a Quiz App.
After user makes their choices, they press submit and wrong/right answers display.
If user answered everything right, nothing happens. Next question comes up. (This part works)
This is my current situation (not quite, but minimal working example):
https://codesandbox.io/s/sleepy-hellman-4nym1?file=/src/App.tsx
I would like to achieve this way of displaying wrong/correct answers:
What is the best way to achieve something like this? I'm stuck and have no idea how to do this in React. I appreciate every kind of help
Right now, in my situation, if user answers question wrongly - all checkboxes reset.
I commented a lot in the code itself, it should be understandable