Like previously stated, you shouldn’t press the answer button unless your question this completely answered. (plus, you should always test the code before pressing answered.)
If this feature was implemented, users would have to learn that, which is pretty easy.
Yes, like buildthomas said, the first answer isn’t always correct, which is why you should wait till you have many before you actually test and pick one that helps you.
Lol, ok, so first everyone is like “oh what if its not the best answer or it wasnt answered yet” but when i say it its “just delete your post if its such an issue”
Disagree. Not every question has just one answer. Maybe the OP got what they wanted and marked it as solution, but someone wanted to re-ask something or ask how to do something similar.