I never did web development before I was hired, I was extremely honest about it. I was given a problem that needed to be solved for a client. Silly thing in JavaScript that took me 2 hours (now would take me 10 minutes). I said I would put a lot of effort into learning, and I did. Turned out awesome.