The site is good for new users to ask questions, but you really need to do a lot of research and learning about the site before posting anything here.
On the other hand, posting questions on Stack Overflow is probably not a good idea if you are new to programming in general. Asking good questions is a very difficult skill to master. You need to know what to put in the question to make it answerable and useful to other people. You also need to know the basics of coding so that you can at least use the right terminology and be sure the topic hasn't been covered already.
it was closed before I could even try to make it better for the people trying to answer my question.
That's the idea. If the question is so unclear that we have to ask for clarifications in comments, then it means that it must be closed for the time being. Otherwise, we would be getting guess answers or wrong answers.
This site is really good when I look for already answered questions
That's the goal of Stack Overflow. We don't want you to ask questions. We want you to be able to find an answer on one of the existing questions. If you can't find an answer then either you are searching for the wrong thing or we really haven't covered this topic yet, in which case you can ask a new question.
It's like it's expecting me to in less than 1 minute after an answer, to edit all my code AND the thread, even though I said I'm only a beginner.
No, the site is expecting you to do this before you post a question. The question must be clear, without any noise, personal information, or known security vulnerabilities/bugs. Don't mention known issues, fix them before you post it. Why should we see broken code that you already know how to fix and isn't related to your question? Focus on a single problem. If you have a question about the code you have written then post a minimal verifiable example. If possible, provide a link to an online executable, e.g., in PHP it is https://3v4l.org/ or https://phpize.online/
Make sure we can understand the question before you post it. This often requires you reaching out to someone else, like a friend or your tutor, to ask them to review it before you post it.
Most importantly, make sure you take the site tour and read the help section. If you don't, then you will have really bad time contributing anything to the site.