expression on the global scope not allowed - page 2

 

...

Improperly formatted code removed by moderator. Please EDIT your post and use the CODE button (Alt-S) when inserting code.

Code button in editor

Hover your mouse over your post and select "edit" ... 

...

Can someone help me with this code getting errors

 
Sarandon Smith #: Can someone help me with this code getting errors

If your code was generated by ChatGPT, then we can't help you. The code it produces is so bad that it requires be totally rewritten from scratch and any advice we given would be beyond what a newbie can understand.

If you want to learn to code, you can look at the Codebase if something similar already exists. You also have the option to hire a programmer in the Freelance section.