For a recent job application - I was a assigned a not-in-person coding exercise, which involved creating a simple web application.
I spent about a day doing it. I'd solved the functional part of it in a couple of hours, and then got into a rabbit hole re: a smaller technical issue.
The next day they asked me to make it look more exactly like the mockup they'd given, and I did that - so about 8 hours total, and I opted not to include writing unit tests for it.
This is for a 6 month contract.
Question is - how much time is reasonable to spend on such an exercise? Does it count against you to spend more time doing it?