There was no better solution to my code snippet: Highlight input if empty.
What should I do? I want to mark this entry as "done". But since there is no answer, I can't accept any.
There was no better solution to my code snippet: Highlight input if empty.
What should I do? I want to mark this entry as "done". But since there is no answer, I can't accept any.
Firstly, what exactly would it accomplish by marking it as done?
Secondly, how do you know that somebody won't come across it a year from now and show you a better way?