General best practice guidelines for frontend