@bccpadge
Posted
Hello @arnoldd98. Congratulations on completing this challenge!!!π
When I build projects, I use CSS Grid on the body
to center content on the webpage.
body{
display:grid;
place-content:center;
min-height: 100vh;
}
- I suggest you stick to classes rather than Ids when styling elements in CSS. Ids are used for JavaScript.
More infoπ:
#qr-code {
max-width: 100%;
max-height: 100%; /*Remove this style its unnecessary */
display:block; /*Add this style and removes all the white space*/
border-radius: 15px;
}
Hope this helps you
Marked as helpful
@arnoldd98
Posted
thanks for the tips @bccpadge