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

All solutions

  • Submitted


    Tech Stack Used:

    ReactJS⚛️ TailwindCSS🌬️

    Learning:

    Practiced mapping arrays of objects for rendering testimonials, enhancing familiarity with iterating through data in React. Learned conditional rendering techniques in React, especially for displaying different components based on certain conditions. Improved responsiveness skills in TailwindCSS, ensuring the social proof section adapts well to various screen sizes and devices. Conclusion: This challenge was exhilarating, particularly when implementing conditional rendering for the ratings and testimonials section. It provided valuable practice and insight into the robust capabilities of ReactJS. The experience further solidified my understanding of React's flexibility and power.

    Thank you Frontendmentor for providing this challenge! 🚀

  • Submitted


    What are you most proud of, and what would you do differently next time?

    Proud of:

    • Component Structure: I'm proud of the clear and modular component structure of the project. Separating the Card component from the App component makes the code more readable and maintainable.

    • Styling: The use of Tailwind CSS for styling ensures a clean and modern design with minimal effort. The use of CSS classes like bg-cover, bg-center, and shadow-retro enhances the visual appeal.

    • Data Handling: Mapping over the learningCards array to dynamically generate Card components is an efficient way to handle multiple data entries.

    Do Differently:

    • Error Handling: Add error handling for missing data, such as a default image if the cover URL is not found or a placeholder if the authorPhoto is missing.

    • Prop Types: Implement PropTypes for type checking, which can help catch bugs related to incorrect prop types.

    • Component Testing: Write unit tests for the components to ensure they render correctly with different props.

    What challenges did you encounter, and how did you overcome them?

    Challenges:

    Dynamic Background Image in Inline Style:

    • Solution: Used template literals to dynamically set the background image in the Card component's div. This required understanding of how to properly format the URL string within the style attribute.

    Responsive Design:

    • Solution: Utilized Tailwind CSS's responsive design utilities, such as sm:w-[320px], to ensure the card adjusts to different screen sizes. This involved learning and applying Tailwind's responsive classes effectively.

    Date Formatting:

    • Solution: Created a helper function monthFormat to convert the month number to its abbreviation. This required basic understanding of JavaScript functions and array indexing.

    What specific areas of your project would you like help with?

    Optimizing Performance: Any suggestions on optimizing the rendering performance of the Card components, especially if the learningCards array grows significantly.

    Accessibility: Best practices to improve the accessibility of the components for users with disabilities.

    Advanced Styling Techniques: Advice on advanced CSS or Tailwind techniques to enhance the visual design and interactivity of the cards.

    State Management: Recommendations on how to handle state management if the app scales, particularly if more dynamic interactions are introduced.

    Testing: Guidance on setting up a testing environment and writing effective tests for React components using libraries like Jest and React Testing Library.

  • Submitted


    Done creating this with ReactJS and Tailwind

    I'm in need of help.

    1. I want to make it more dynamic with JSON. I've comment out the fetching that I've done because its not fetching whenever I deploy it to Vercel.
    2. Also I'm having issues with the pathing of the images.

    Feedback is highly appreciated

  • Submitted


    Sorry for not merely completing this challenge. I need help with the following to fully finish this challenge.

    1. I need suggestions for a logic wherein I can only open 1 accordion at a time. When 1 accordion is opened and when I open another accordion it will close the previously opened accordion and then open the newly clicked accordion.

    2. I'm a bit new to tailwind. Can you suggest to me how to make it more animated whenever I open an accordion?

    Thank you in advance for the feedback you will give.

  • Submitted


    What are you most proud of, and what would you do differently next time?

    Most Proud Of:

    • Dynamic Routing and Navigation: Successfully implemented dynamic routing and navigation using React Router, ensuring that users are redirected appropriately based on the URL parameters. By changing the URL parameters from "/1" upto "/4". You will render a different QR code and different content.

    • Fetch API Integration: Efficiently used the Fetch API to retrieve content from a JSON file and display it dynamically in the application.

    • Responsive Design: Implemented a clean and responsive design using Tailwind CSS, making the app look good on various screen sizes.

    • Error Handling: Included error handling to manage fetch failures and unexpected situations, improving the robustness of the application.

    What would you do differently next time:

    • State Management: Consider using a state management library like Redux or Context API if the application grows in complexity, to manage state more efficiently. Code Optimization: Refactor the code to make it more modular, such as extracting the fetch logic into a custom hook.

    • Loading Animation: Enhance the user experience during the loading state by adding a more sophisticated animation or loading spinner.

    • Error Display: Improve the user interface for displaying errors to make it more user-friendly and informative.

    What challenges did you encounter, and how did you overcome them?

    Challenges

    • Dynamic Routing: Implementing dynamic routing with React Router to handle different sections based on the URL parameter. Followed the React Router documentation and tutorials to understand how to use the useParams hook and the component for dynamic routing and redirects.

    • Fetching Data: Ensuring that data is fetched correctly and handling potential errors in the data fetching process. Used async/await for the fetch operation and added error handling to catch and manage errors gracefully.

    • Conditional Rendering: Rendering content conditionally based on the fetched data and handling cases where the data might be missing or incorrect. Implemented conditional rendering to check if the data exists before attempting to display it, and used redirects for cases where data was not found.

    • Styling with Tailwind CSS: Learning and effectively using Tailwind CSS to style the components and ensure responsiveness. Referenced the Tailwind CSS documentation and examples to apply the appropriate classes and achieve the desired design.

    What specific areas of your project would you like help with?

    Specific Areas for Help:

    • Performance Optimization: Guidance on optimizing the performance of the app, especially with larger datasets or more complex components.

    • Advanced Routing Techniques: Best practices for managing more complex routing scenarios, including nested routes and authentication-based routes.

    • Improved User Experience: Tips on enhancing the overall user experience, such as adding animations, transitions, and more interactive elements.

    • Accessibility: Ensuring the application is accessible to all users, including those with disabilities, and following best practices for accessibility in web applications.

    • Testing: Setting up a robust testing environment, including unit tests and end-to-end tests, to ensure the reliability and maintainability of the application.

  • Submitted


    What would be the best practice to make this responsive in any sizes of the screen