@superpooperxxx
Posted
Hello, Antonio, good job ! I really liked you used BEM and SASS in this project🔥
The only thing, I would recommend using regular <p> tag here instead of <h2>, because in semantics <h2> usually means a title for some big section, but here it is just a paragraph.
<h2 class="qrCode__subTitle">
Scan the QR code to visit Frontend Mentor and take your coding skills to the next level
</h2>
Marked as helpful
@antoru
Posted
HI @superpooperxxx !
Thank you for your tip!
Regards, Antonio
@superpooperxxx
Posted
@antoru also as you are using BEM + SASS is a good practice to have a separate .scss file for each BEM block. Create a folder blocks with a file _qrCode.scss and move .qrCode styles there.
And you are using @import which is an old approach, check this video
@antoru
Posted
@superpooperxxx
in this project there is only one block and I think that it can be fine without an additional folder.
Thank you for the interesting video about @use and @forward in sass.
Regards, Antonio