recipes search feature

Hello I am trying to add a search box and dropdown to my recipes page so that visitors can easily search for the recipe they are looking for. Unfortunately I keep receiving the following error:
public/pages/u7bzf.js: Unexpected token, expected , (6:81)

Here’s my code:

import wixData from ‘wix-data’;

export function iContinent_change(event, $w) {
let searchValue = $w(“#iContinent”).value;
$w((‘#dataset1’).setFilter(wixData.filter().contains(‘collections’, searchValue));
}

export function input1_keyPress(event,$w) {
let searchValue = $w(“#input1”).value;
$w((‘#dataset1’).setFilter(wixData.filter().contains(‘title’, searchValue));
}

Please help! What am I doing wrong?

Dataset name = dataset1
Search bar name = input1
Dropdown name = iContinent
Dataset column name to search = title
Dataset column name for dropdown = collections

Note that you have an extra left parentheses after the $w…

You have this:

$w(('#dataset1').setFilter(wixData.filter().contains('collections', searchValue)); 

You should have this:

$w('#dataset1').setFilter(wixData.filter().contains('collections', searchValue)); 

If you continue to have problems, please post the URL of your site. Only authorized Wix personnel can get access to your site in the editor. Please include the name of the page involved.

Thank you it works!