Code is meant to be broken, reiterated over, broken again and again and again until it cannot function anymore.
That is what code is meant to do.
It works, it changes, it breaks, it gets fixed, it works again.
Welcome to coding!
Let the everlasting Frustration and Joy begin.