Editing for Mobile

I found the tutorial, ‘Displaying Elements in Mobile only’ and entered the following code:

import wixWindow from 'wix-window';
$w.onReady(function () {
if(wixWindow.formFactor === "Mobile"){
$w("text122").show();
}
});

However, I got a message, “text122” is not a valid selector"

Waz up?