How made quizzes on Hugo

I’m migrating from WP to Hugo. The site has quizzes. What would be the best way to do this, in particular to allow the contribution of the questions and answers?

Maybe go through the customs output format to create a json that will be consumed by javascript?

thank you hugowomen & hugomen