Mobile-first solution using CSS Grid and Flexbox

Solution retrospective
Please provide feedback.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @OniOdd
Hello! 😎 Here is what I can advise you:
- Write classes, identifiers, and selectors in general in lower case.
- If the class consists of two words, then separate them with a dash (for example: card-back).
- Try to avoid such specificity of selectors, such as: "section .CardBack .text". It is enough to use one selector.
- Reduce markup. Whenever possible, avoid superfluous parent elements when writing HTML. Many times this requires iteration and refactoring, but produces less HTML.
- It is also advisable to connect fonts in an html file using the link tag, rather than in a css file using @import.
Good luck! 👍
Marked as helpful - @0xabdulkhaliq
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
QR iMAGE ALT TEXT 📸:
- Since this component involves scanning the QR code, the image is not a decoration, so it must have an
alt
attribute.
- The
alt
attribute should explain the purpose of theimage
.
- E.g.
alt="QR code to frontendmentor.io"
<img src="/images/image-qr-code.png" alt="QR code to frontendmentor.io">
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord