Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Advice generator app using tailwind css, react query

@replayzor

Desktop design screenshot for the Advice generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Any feedback is welcomed

Community feedback

@petritnuredini

Posted

Congratulations on completing your advice generator app project! 🎉 You've done a great job in implementing a clean and user-friendly interface. Here are some recommendations and best practices to enhance your project further:

  1. Code Organization and Readability:

    • Structure your Components: Organize your components into folders to maintain a clean structure, e.g., components/Loading, components/Footer.
    • Use Descriptive Names: Ensure variable and function names are descriptive. For example, rename handleClickAdvice to fetchNewAdvice for clarity.
  2. React and React Query:

    • Error Handling: Good job on handling errors. Consider creating a separate error component for a more modular approach.
    • Data Fetching: Leverage the full power of React Query by utilizing its caching and synchronization features.
  3. Accessibility:

    • Alt Text for Images: Provide meaningful alt text for images for screen readers. For purely decorative images, use alt="".
    • Accessible Loading Indicators: Ensure loading indicators are accessible to screen readers.
  4. Performance Optimizations:

    • Lazy Loading Images: Implement lazy loading for images to improve performance, especially on mobile devices.
  5. Responsive Design:

    • Media Queries: Review your media queries to ensure they cover a range of devices for optimal layout.
    • Testing Across Devices: Test the app on various devices to ensure consistent user experience.
  6. Styling and Animations:

    • Hover States: Implement more interactive hover states for clickable elements for a better user experience.
    • Transitions and Animations: Add subtle transitions or animations for a smoother and more engaging interface.
  7. Maintainability:

    • Component Reusability: Look for opportunities to create reusable components.
    • Use of Utility Classes: Consider using utility classes for common styles to reduce CSS redundancy.
  8. Learning Resources:

You've made an impressive start with this project. Keep exploring different aspects of web development and refining your skills. Your journey is progressing excellently, and I can't wait to see what you build next! Keep up the fantastic work! 👍

Marked as helpful

1

@replayzor

Posted

Thank you for your feedback. @petritnuredini

0

Please log in to post a comment

Log in with GitHub
Discord logo

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