Project help: $ is not defined (JavaScript) (Replit IDE) [duplicate]

I am currently using the online version of the Replit IDE (I don’t know if being online is a problem). In my project, I have this block of code; however when I run it, it states that $ is not defined. I ask if this is a problem related to how I use run the different files, as all I do is declare ‘node public/main.js’ rather than several different files. If anyone has experience Replit, it would be appreciated if you could guide me through the IDE. Thank you in advance 🙂 (sorry if I reply slowly).

Here is the block of code I’m having trouble with:

// Page Elements
const $input = $('#city');
const $submit = $('#button');
const $destination = $('#destination');
const $container = $('.container');
const $venueDivs = [$("#venue1"), $("#venue2"), $("#venue3"), $("#venue4")];
const $weatherDiv = $("#weather1");