Arkadiusz Żmudzin
@arkus7All solutions
- Submitted 6 months ago
QR code component solution
- HTML
- CSS
- I'm not sure if the HTML structure I came up with is the right approach. I tried not to overuse
div
elements, I reached for tags likemain
andsection
to give it more semantics although I worry that this is overkill for the example in the challenge. Any feedback is appreciated. - I had a problem with centring things and I've used
flex
to solve it - what is the best approach here? I've usedheight: 100vh
on the container to fill the whole viewport so it is also centred vertically - is this how it's supposed to be done? - Is the naming of the classes in the CSS fine? I've always struggled with naming them and I went for naming by the "component" they describe.