0

How do I resize my code

Hello fellow coders, I'm making a code that generates a qr code based on an input ( inspired by mitali ), the code is working, but the size is wrong, and I've tried many solutions, but it still won't work, if you know how to resize the code depending on the device's screen size, please leave a comment! ( Also if you know how to have zoom in and zoom out for the qr code that is controlled by the user please let me know! ) https://code.sololearn.com/WwUW3SJZ9U2G/?ref=app

5th Jan 2023, 4:59 AM
RayZ
RayZ - avatar
4 Answers
+ 1
https://code.sololearn.com/Wgik9T3pVbxD/?ref=app https://code.sololearn.com/W8TD2J14e8MP/?ref=app
6th Jan 2023, 8:17 AM
CalviÕ²
CalviÕ² - avatar
+ 1
first you don't need width for your body then set size for qr-code img and if you want to change something for bigger(or smaller) screens use media queries
5th Jan 2023, 5:34 AM
nprNikita
nprNikita - avatar
0
CalviÕ² it doesn't work on my device
6th Jan 2023, 4:36 AM
RayZ
RayZ - avatar