#1: The progress bar should NOT affect the flow of the quiz, it does only show how far the user went. The reason why you get an error only on mobile means that one or more of your elements are hidden, use the “hidden” icon in the left side bar to see what elements are hidden and show them back.
#2: When I defined the “answers” variable, I defined it as an empty object, while you’re not defining it as an object, also, I put it in the page’s onReady() function while it needs to be on the upper scope in order to be able to modify it inside the event handlers below, so I suggest that you move the declaration of the answers variable to the upper scope.
let answers = {};
$w.onReady(() => {
// The progress bar things ....
})
// Your static event handlers ....
Try it and let me know if it worked.