Is it right to set a px for the div container and the Qr img? or there is a better way
Udbhav Dalmia
@UdbhavDalmiaAll comments
- @RaeedShealSubmitted over 1 year ago@UdbhavDalmiaPosted over 1 year ago
You can surely use px for the div container and the Qr image. And I would suggest you reduce the heights of the elements so they would match the original preview.
Marked as helpful0 - @YannickMukengSubmitted over 1 year ago
I defined the body of my document as a "flexbox" and used padding to center my qr-code. Was there an easier way to get my qr-code in the center? So yes, how? My images also disappear when I upload it live, what do I have to put in my code to avoid this?
@UdbhavDalmiaPosted over 1 year agoYou can add flex but you can also add margin right and left: auto; it would center it horizontally and make sure to do display: block; so it would be horizontally centered.
Upload the QR code image and the favicon in the GitHub repository then they will show.
0 - @manonthemonSubmitted over 1 year ago
First small project following the completion of a front-end bootcamp to refresh some basics. Fairly random use of bootstrap and jQuery. I'm sure the code could benefit from some refactoring, but for now I'm just happy that it works.