Skip to content
Discussion options

You must be logged in to vote

Update: I figured it out!

   var desireScale = [
            'Strong No',
            'No',
            'Yes',
            'Strong Yes'
        ]; //create the rating scale for the runs

        const resetCounter_function = function() {
            counter = 0;
            return counter;
        }; //create a function to reset the counter variable

        var resetCounter = {
            type: 'call-function',
            func: resetCounter_function
        };
        finalTimeline.push(resetCounter); //reset the counter variable

        var sevenRuns = ['N', 'H', 'N', 'H', 'N', 'H', 'N', 'H', 'N', 'H', 'N', 'H', 'N', 'H']; //N = NATURAL; H = HEALTHY;

        var oneRun = ['N', 'H'];…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sophief10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant