Design comparison
SolutionDesign
Community feedback
- @petritnurediniPosted 10 months ago
Congratulations on completing your project! Your effort in creating a responsive and visually appealing application is commendable. Here are some quick recommendations to enhance your work:
-
Responsive Design:
- Use CSS Media Queries: Instead of handling responsiveness with JavaScript, consider using CSS media queries for a more efficient approach.
-
Component Structure:
- Reusable Components: Great job creating a reusable
CardComponent
. Ensure that it's flexible enough for different kinds of content.
- Reusable Components: Great job creating a reusable
-
Accessibility:
- Alt Text for Images: Provide meaningful alt text for images for better accessibility.
-
Code Cleanliness:
- Avoid Inline Styling: Consider using external stylesheets or styled components to avoid inline styling in your JSX.
-
Performance:
- Optimizing State Updates: Avoid unnecessary re-renders by removing
windowWidth
from the dependency array ofuseEffect
if not needed.
- Optimizing State Updates: Avoid unnecessary re-renders by removing
-
Styling Best Practices:
- Consistent Naming Convention: Use a consistent naming convention for your CSS classes for better readability and maintainability.
-
Learning Resources:
- Responsive Design: CSS Tricks
- React Best Practices: React Documentation
Keep pushing your boundaries and continue to take on new challenges! Your journey is on a great path, and I'm excited to see your future projects. Keep exploring and learning new technologies!
Marked as helpful1 -
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