Are you learning how to code? The path is long, and mistakes are a natural part of it, for that reason, you should always allow yourself to screw up a little. Errors can lead to improvement and therefore be transformed into a good thing.
On this text, Thomas Oppong talks about the importance of giving yourself permission to screw up from time to time!
https://medium.com/personal-growth/give-yourself-permission-to-screw-up-2c5f55e9b9e6