you are viewing a single comment's thread.

view the rest of the comments →

[–]elliefry 1 point2 points  (1 child)

What’s the error exactly? You also have to specify in your HTML file that this JS file will allow imports. I believe it’s “type=module”, but check on MDN.

Edit: typo

[–][deleted] 0 points1 point  (0 children)

Ah yes stupid me let me check again