Design comparison
Solution retrospective
I'm proud that I successfully did all the required actions/tasks in this challenge and I'm satisfied with the result. I will try to improve my media query coding next time.
What challenges did you encounter, and how did you overcome them?How to make this look good and neat in all possible screen sizes. I somehow overcame it by putting a lot of CSS breakpoints.π₯²
What specific areas of your project would you like help with?The bg-pattern doesn't cover the whole screen width when it's more than 1440px. I would appreciate some help. Thank you so much!
Community feedback
- @saularangurenPosted 6 months ago
Greetings Ren, your solution is really interesting and wonderful, however, it can be improved in the organization of files and folders, within your index.html file you should not do this:
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png" />
better do this:
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png"/>
Don't cut the lines, doing that is bad practice and messes up your code.
correct this bad practice in all the lines where it is repeated, upload your changes again to your gthub repo
In addition to that, I recommend learning Sass, it will help you create CSS styles ordered and by modules, this way you will not have a style sheet with more than 500 lines
Links:
happy code development
Marked as helpful0@ktmagnoPosted 6 months agothank you @saularanguren I'm using an extension called 'Prettier' in VS Code that's why my code is like that. I really want to learn Sass too, maybe I should try it on my next challenge. Just a quick question tho, how do you get your solution 100% accurate with the design? That's so amazing! ππΌ
1@saularangurenPosted 6 months ago@ktmagno Greetings friend, to obtain the precise solution, you must see the figma file that is delivered in the challenges, if you have a free account you can only obtain the figma file of the free+ challenges and to obtain the figma file of all the challenges and including challenges of first quality you must buy an annual or monthly subscription to frontendmentor, when you pressed the button to complete the qr code card challenge, it appeared next to it, download figma file or sketch, you simply download the figma file and run it in the program or website figma, you need to create an account, it's free, I recommend watching YouTube videos on how you can use that tool, happy coding
Marked as helpful0 - @kodan96Posted 6 months ago
hi there! ππ
Instead of giving the image
position: fixed
set it as thebackground-image
to thebody
element like this:body { background-image: url() background-size: contain; background-repeat: no-repeat; }
just copy the img path into
url()
this should resolve the issue.Hope this was helpful! π
Good luck and happy coding! πͺ
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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