Why my store not accepting javascript or jquery syntax?

Can someone help me why my store not accepting any js or jquery syntax?

store url

@irene-vintage

@made4Uo

Hi @danica06

Have you tried console logging the element? If it turns out null, it might be the placement of your code. You actually have to place the code after the document loaded.

Hi, I tried this one and put on my collection page and the alert works but the display don’t. I don’t know why.

danica06_2-1686234570790.png