This is cool... I believe that failure can be unavoidable especially when we are venturing into things we have little knowledge of.
However, once we fail, it is important for us to step up and take responsibility for it. That's an easy way to deal with failure and work towards achieving success.