Hi Yvonne,
You write "I am currently building a personality quiz in a H5P format". Are you aware that the H5P Personality Quiz is extremely limited? Have you thought of using the Personality feature of the Moodle Questionnaire (contributed) plugin instead?
Joseph