I can spend a lot of the day in front of a computer screen, coding and updating web sites, both for personal projects and for clients.
The main task is to keep everything simple and straightforward: a key to being able to come back in 6 months time to look again at the work and be able to understand how it all fits together.
Coding a new site (like this one!) always throws up problems, usually when something doesn't work as planned and you cannot see why not.
By far the best way to solve the problem is to "take a break" - step away from the screen and do something else for a short period.
I can absolutely recommend sitting in the garden, listening to our resident blackbird sing its heart out as the number one way for solving all problems...