I wrote a whole code for the first time. It's a bit long (at least for me), and i don't know if is can just paste the whole code and ask Qs on each part of it or separate the code into many smaller Qs and all them all. Please advise.
Questions about code typically belong on Stack Overflow. You need to ask a clear question about one issue in a question, not paste a lot of code.