You just scanned a random QR code and landed on a fake "hacked" page. Nothing happened to your device. But in a real attack, it could have.
This demo was created by Micheal Wolski to show how QR code phishing works.