Adding a "Show More" Button and coding it to the text

Hi, I’ve figured out how to add a “Show More” button with text. I just need help because it says there’s an error with “fulltext” is not defined. “text1” and “button1” are not a “valid sector.” My text is “#text1” and my button is “#button1” Here’s the code. What am I doing wrong?

$w.onReady ( function (){
let fullText; // variable to hold the full text
let shortText; // variable to hold the short version of the text
// how many characters to include in the shortened version
const shortTextLength = 80;
// read the full text and store it in the fullText variable
fullText = $w(“#text1”).text;
shortText = fullText.substr(0, shortTextLength) + “…”;
// set the contents of the text element to be the short text
$w(“#text1”).text = shortText;
});

export function button1_click(event) {
// display the full text
$w(“text1”).text = fullText;
// collapse the button
$w(“button1”).collapse();
}