05.03.2019, 12:57
You're checking if the length is longer than 4 AND shorter than 1 character. It can't be both!
You need to check if it's longer than 4 OR shorter than 1.
You need to check if it's longer than 4 OR shorter than 1.