Design comparison
SolutionDesign
Community feedback
- @justasteriPosted about 1 month ago
- CSS Specificity: While your CSS is generally well-structured, consider using more specific selectors to avoid unintended styling. For example, instead of using .image, you could use .recipe-card .image to target the image within the recipe card.
- CSS Variables: Using CSS variables (e.g., --primary-color, --font-family) can make it easier to manage your color palette and typography throughout the project.
- Accessibility: Ensure that your code adheres to accessibility guidelines. This includes using appropriate ARIA attributes, providing alternative text for images, and using heading elements (H1, H2, etc.) in a logical hierarchy.
0
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