What app can help create a point-based quiz with grouped questions?

Hello. I need to build a quiz where I want two things:

  1. I want to be able to assign points/values to the answer. For example, let’s say question says: “Which fruit do you like?” and the answers are: “Apple, Banana, Orange”. I want the app to return me not the answer itself, but the value I attached to it. So for example, if I attached 1 to Apple, 2 to Banana and 3 to Orange, and if customer selected Banana, I want to get 2 as the answer to that question.

  2. I want to group questions (but not visibly). For example, I want customer to see 7 sequential questions, but under the hood I want the first 3 questions to be under one group, then following 2 questions to be in another group, and remaining questions to be single.

I’m a developer so I can build such app myself, so please don’t offer to build an app. I just want an existing one if there is. Thanks!

Have you considered using data attributes?

Sorry, data attributes for what ?

If you are building a quiz app and you have some answers like orange, apple, bannana, in your code maybe writing something like this:


  
Apple

  Banana

  Orange

Then you would get these values based on the answer selected with the javascript dataset property.

Sure, but what I want is using an existing app that offers that options. So far, I couldn’t find such an app.