@d8701a
Posted
Hello there! Congrats on having completed this challenge, awesome work!
To answer your question, yes, definitely you could use sub-divs. I saw many developers use them.
So your whole card could have been wrapped in a .box_wrapper div. Then inside, you could've created .image_wrapper and .content_wrapper. Inside the .image_wrapper would be the QR code image, and within the .content_wrapper you could have put the h2 and p elements with their content. As a matter of fact, this is how I did the challenge.
To summarize, everything would be contained in a .box_wrapper, which would be the parent container, and you could set it to display: flex, set its width etc.
Marked as helpful