When posting code on the forum, make sure you use Code Tags so people can read your code easily.
Your code isn’t working because it’s full of typos. If you use a proper IDE it will tell you when something you type doesn’t make sense or is misspelled.