Filtering more that 1 thing

We watched a Velo by Wix video on how to make a filter engine. This video only told us how to filter one type of item (see below for code). After fiddling around and trying different combos, we stopped. Can anyone tell us how/ what to add to this code (see below) to allow us to have more than one filter type?

import wixData from 'wix-data';

export function iTitle_keyPress(event, $w) {
        filter($w('#iTitle').value);
}

function filter(title) {
        $w('#dataset1').setFilter(wixData.filter().contains('videoTitle', title));
}

Thanks! AuroraPBC