Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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?