Does it take longer to become a salaried web developer, or a freelance web developer while earning the equivalent?

Did i phrase this right?