Debugging is a normal part of web design and development. What’s unclear about that? Web developers don’t “create bugs”, or “make mistakes”. It’s just the way it goes. I’ll explain more about that below but for now consider this simple analogy:
When you write a book or a paper – you don’t expect the publisher to publish your first submission, do you? Your copy will go through series of edits, corrections, error fixing, rephrasing, rearranging, proof reading, etc… Often this phase can take longer than the time it originally took you to write the paper or book itself! That’s the way it goes.