Error: The element selector function (usually $w) cannot be used before the page is ready

Hi everyone,

I am very new to coding. I was asked to create a new site for the company I work for, and I’m trying to create an element on a page that would look good on a mobile view. Can any of you help find out what I’m doing wrong with the code I attached an image of? Much appreciated!

Line 44 is the line that is saying “Error: Element selector function (usually $w) cannot be used before the page is ready”

Hello kgrst25,

Try to add line 44 in the onReady function of your page.?