Design comparison
SolutionDesign
Community feedback
- @petritnurediniPosted 10 months ago
Congratulations on completing your project! It's great to see your dedication to creating a responsive and visually appealing application. Here are some brief recommendations to enhance your work:
-
Responsive Design:
- Media Queries: Use CSS media queries instead of JavaScript to handle responsiveness. It's a more efficient and standard practice.
-
Code Structure:
- React Hooks: Good use of the
useState
anduseEffect
hooks for handling window resizing. Ensure this is the most efficient method for your application's needs.
- React Hooks: Good use of the
-
Styling:
- Inline Styles vs. CSS: Minimize the use of inline styles. Prefer external CSS or styled-components for better maintainability and separation of concerns.
- Background Images: Ensure background images are responsive and properly positioned on all screen sizes.
-
Accessibility:
- Alt Text: Provide meaningful alt text for all images for better accessibility and SEO.
-
Performance:
- Optimizing Event Listeners: Make sure to optimize resize event listeners as they can be performance-intensive.
-
General Best Practices:
- Componentization: Keep your components modular and focused on a single responsibility.
- Semantic HTML: Use semantic HTML tags for better readability and SEO.
-
Learning Resources:
- CSS Techniques: CSS Tricks
- React Best Practices: React Documentation
Keep up the excellent work, and continue challenging yourself with new projects! Each project is a learning opportunity, and you're doing a fantastic job of growing your skills.
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