Submitted 11 days ago
in this project i tried to implement BEM techniques
@Icode-designs
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
i like how responsive it is and how easy it was to achieve that, however there is still work to be done and i know.
What challenges did you encounter, and how did you overcome them?it was mostly smooth sailing as this project was right at the edge of my comfort zone
What specific areas of your project would you like help with?code based reviews, how improve my codes and make them cleaner, how to improve my BEM naming techniques, how to write better css and media queries
Community feedback
- @huyphan2210Posted 10 days ago
Hi, @Icode-designs
I checked out your solution and I have some thoughts:
- Width Properties on
body
and Block-Level Elements: There’s no need to setmax-width: 100vw
onbody
ormax-width: 100%
on block-level elements, as they naturally expand to the full width of their container. You can safely remove these styles. - Structural Elements: Good use of
header
andfooter
! Sincesection
tags and.buttons
represent the main content, they should be wrapped within amain
element for semantic structure. - Content Grouping: Consider grouping "Keep track of your snippets," "Access Clipboard anywhere," "Supercharge your workflow," and "Clipboard for iOS and Mac OS" into individual
section
elements. The current.info
,.brands
,.outro
divisions and.buttons
div
(which isn’t associated with anysection
) could be organized more meaningfully. - CSS with Sass/SCSS: I noticed you’re following the BEM naming convention in your CSS. Switching to Sass/SCSS could streamline your styling with nested selectors, variables, and mixins. Also, instead of linking fonts in the HTML, you can import them directly into your CSS/SCSS file for a cleaner structure.
- Semantic HTML: To improve semantics, consider replacing generic
div
s with more descriptive tags likehgroup
,article
, etc., to better convey the page's content.
Hope this helps!
Marked as helpful0 - Width Properties on
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