Expandable text

I am trying to add expandable text to my site. I added in the code that Wix gave

// how many characters to include in the shortened version const shortTextLength = 40; // read the full text and store it in the fullText variable fullText = $w(“#myTextElement”).text; // grab the number of characters defined in shortTextLength and store them in the shortText variable shortText = fullText.substr(0, shortTextLength) + “…”; // set the contents of the text element to be the short text $w(“#myTextElement”).text = shortText;

Then is says Make sure to make this substitution:
#myTextElement”: the ID of the text element you added in Step 1 of the Setting Up section (hover over it to see its ID).

I hover over my button and it says the name is #button2

so I added that in and a red dot comes up and it says Parsing Error: unexpected character #

You simply need to add the id of the text element that you used and not the button itself.

The tutorial page shows you in the image too.
https://support.wix.com/en/article/corvid-tutorial-creating-a-show-more-link