FYI All questions

How can a QR code still work when part of it is damaged?

It stores redundant error-correction data, allowing software to reconstruct missing pieces. The large corner squares help the camera determine orientation.