Uncaught SyntaxError: Unexpected token '*' when uploaded to Pavlovia

URL of experiment:

Description of the problem:
https://run.pavlovia.org/lclab2/bronwyn-bates-jan27/html/cognitiveloadfile 1.1.js

Not sure whats wrong with my code


Please take a look at my crib sheet (see pinned post ).

I think that the error is due to
import * as random from ‘random’;

You can’t import libraries in code components.

Hey I’m new to the platform, where would I find your pinned post?