Importing Data from Excel

Hi, I am hoping somebody can help!
I am trying to create the same thing, a page dedicated to uploading data into a database collection from a CSV file.
However, when I click my Import Button nothing happens; no message and the data has not been imported into my database.
I have copied the wix code from the same webpage and there appears to be no errors in my code.
Here is my code;

import wixData from ‘wix-data’;
// For full API documentation, including code examples, visit http://wix.to/94BuAAs

$w.onReady(function () {
//TODO: write your page related code here…

});

export function importButton_onClick() {
const items = JSON.parse($w(“#textBox”).value);
const collection = $w(“#collectionInput”).value;

items.forEach( (item) => {
wixData.insert(collection, item)
.then( (results) => {
console.log(Added item: ${JSON.stringify(results)});
} )
.catch( (err) => {
console.log(err);
} );
} );

$w(“#textBox”).value = “”;
}

I have a collectionInput field and textBox field and my button is called ImportButton

???

Thanks