The following message popped up when previewing the shopping page of my site. I do not have any coding experience. It would be appreciated if someone is able to explain the nature of the problem and how to solve it.
public/pages/p42wv.js: Unexpected token, expected ; (1:7) > 1 | 30.9150.575 5// For full API documentation, including code examples, visit http://wix.to/94BuAAs | ^ 2 | 3 | 4 | export function convertCurrency_click(event, $w) {Loading the code for the Product Page page. To debug this code, open p42wv.js in Developer Tools.There was an error in your scriptTypeError: n is not a function. (In ‘n()’, ‘n’ is null)
export function convertCurrency_click(event, $w) {
//Add your code for this event here:
var url = ‘https://api.fixer.io/latest?base=’;
var country = $w(“#amountConvert”).value;
var fullUrl = url + country;
var symbol = $w(“#amountConvert2”).value;
fullUrl = fullUrl + ‘&symbols=’ + symbol;