Latest solutions
Blog Preview using Flexbox and Hover properties
Submitted 23 days agoI would just like general recommendations for how I can improve my CSS.
QR Code Component using Flex Box
Submitted 23 days agoI would like the most help on formatting images and text. Making them properly fit inside other elements without hard coding pixel values and having them look stretched or off.
Latest comments
- @free-careSubmitted 23 days ago@AMarazaPosted 23 days ago
When hovering over the text to make it yellow, even without a link you can change the cursor to be a pointer by using the
cursor: pointer
property.Marked as helpful1 - P@drewleeSubmitted 23 days agoWhat are you most proud of, and what would you do differently next time?
I was pleasantly surprised at the ease that CSS Flexbox allows for laying out elements. I transitioned away from web development right around the time when Flexbox and Grid were becoming standardized. I'm mostly familiar with the excruciating pain points and hacks we web developers endured before these modern layout techniques were available. I'm glad those are now a past relic and am proud of having learned how to leverage Flexbox sufficiently. I'm still in the process of catching up with modern CSS methodologies and would incorporate more of these best practices on my next project.
What challenges did you encounter, and how did you overcome them?The biggest pain points were encountered with setting up the project with NPM and Github. I wanted sufficient safeguards for my projects and have included Prettier, ESLint, and Stylelint for HTML, CSS, and JS checks. In particular, the ESLint configuration setup has recently changed to a "flat" configuration, which took some time to determine the optimal setup for. I overcame the issues mostly with trial and error and by inspecting the config objects as well as by leveraging the CLI
What specific areas of your project would you like help with?--inspect-config
tool.Mostly ensuring that I am following modern conventions and best practices for authoring HTML and CSS code.
@AMarazaPosted 23 days agoOverall this is a very clean and accurate result with not much to critique.
I might suggest using more combinators within your style sheet instead of relying solely on class elements.
For example:
.qr-card-container p
would target every paragraph within your qr card container. Or you could write.qr-card-container .qr-card-caption
to specifically target everything with the class qr-card-caption within qr-card-container.0