Wix-Code for expandable box - Help!

Hey guys! I could really use some help with wix code!!

I have followed wix’s step by step guide on how to create an expandable text with a read more/read less button, but my code does not seem to be working. It does not show the Greek alphabet nor does the “show more/less button” work. I have checked it many times, and looked into the Forum, but cannot make it work.

I was wondering whether:
a) I have done a mistake with the code? Here is the code I’ve been using:


I am also getting this message:


this is line 21:


b) the code does not work due to using the Greek language and not English. Here is a screenshot of how the text looks on my webpage:


c) the code does not work because my full text is too big - 516 characters long.

Any help will be greatly appreciated :slight_smile:

Thanks,
Charis

The line of code that has the error (line #21) is not contained in a function. Code that has the $w selector cannot appear in the page code on it’s own - it needs to be contained in a function.

The code doesn’t work because there are errors. You will need to go over your code carefully to ensure that it is written as the article explains and that there are no errors. Pay careful attention to the section Code for the “Show More/Show Less” Toggle Button .

I hope this helps,

Yisrael