For my body I used 100vh height, so that display flex, justify content and align-items are at the center.
height: 100vh; display: flex; justify-content: center; align-items: center; flex-direction: row;
Don't forget to add border radius to the qr code
U can add <br> to shape how u want ur text to look too. I did this.
<h2>Improve your front-end <br> skills by building projects</h2> <p>Scan the QR code to visit Frontend <br> Mentor and take your coding skills to <br> the next level</p>0