Build a Fortune Telling App - Step 20

Tell us what’s happening:

please i need help with this …step 20 .it does seem to catch the private element

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: index.ts */
// User Editable Region
constructor() {
    this.elements= {
      singleCardBtn: getElement<HTMLButtonElement>("#btn-single-card"),
      singleCard: getElement<HTMLDivElement>(".single_card"),
    };
  }
// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36

Challenge Information:

Build a Fortune Telling App - Step 20

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-fortune-teller-app/68ed43845b59b9b3787eb175.md at main · freeCodeCamp/freeCodeCamp · GitHub

Try removing <HTMLButtonElement> and <HTMLDivElement> and then submit

why does it work with all that errors?