
Solution retrospective
Most proud of:
- Creating a pixel-perfect implementation that closely matches the design specifications Successfully implementing local font faces instead of relying on Google Fonts CDN, which improves performance and offline functionality
- Writing clean, semantic HTML with proper accessibility considerations (focus states, alt text)
- Achieving smooth hover animations with the box-shadow effect that feels polished and professional
What I'd do differently:
- I would start by creating a more detailed design system with consistent spacing variables from the beginning Consider using CSS Grid alongside Flexbox for even more layout control
- Implement CSS custom properties more extensively for better maintainability
- Add more comprehensive accessibility testing, including keyboard navigation and screen reader compatibility
Main challenges:
-
Precise spacing and typography - The design required exact font sizes, spacing, and proportions. I overcame this by carefully analyzing the preview image and using consistent units (px for precise control).
-
Shadow hover effect - Creating the expanding shadow effect on hover required experimenting with different approaches. I solved this by using box-shadow transitions instead of transform scaling, which provided smoother visual feedback.
-
Font implementation - Deciding between Google Fonts and local fonts. I chose local fonts for better performance and created proper @font-face declarations supporting both variable and static font files.
-
Responsive behavior - Ensuring the card looks great on both mobile (375px) and desktop (1440px). I used CSS media queries with specific breakpoints and adjusted padding/font sizes accordingly.
-
Advanced accessibility features - I'd appreciate feedback on implementing better ARIA labels, focus management, and ensuring the component works seamlessly with assistive technologies.
-
Performance optimization - While I used local fonts, I'd like guidance on further optimizing loading times, especially for the font files and any potential layout shifts.
-
CSS architecture - Feedback on organizing CSS better, perhaps using methodologies like BEM or implementing a more scalable design system approach.
-
Animation refinement - The hover effect works well, but I'd welcome suggestions for more sophisticated micro-interactions that could enhance the user experience without being distracting.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Afuh Flynn Tembeng's solution.
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