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

SatishB15 160

@SatishB15

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


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

I'm proud of successfully completing this project without any errors within just one hour, achieving both the UI and functionality goals. I used a simple fetch API without any JavaScript frameworks, which helped me grasp the fundamentals better.

Next time, I would like to use a JavaScript framework, such as React or Vue.js, and incorporate Axios for making HTTP requests. This approach will not only streamline the development process but also enhance the project's scalability and maintainability.

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

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

During the project, I faced challenges with implementing a hover effect on the button and aligning it to the bottom of the card using absolute positioning. To tackle these issues:

  1. Hover Effect on Button: Initially, I struggled to achieve a smooth hover effect on the button that would highlight it when users interacted with it. Through experimentation with CSS :hover pseudo-class and transitions, I managed to create a subtle glow effect using box-shadow. This made the button more visually engaging and intuitive to use.

  2. Aligning Button with Absolute Positioning: Aligning the button precisely to the bottom of the card using absolute positioning posed another challenge. I adjusted the parent container's positioning context and used bottom: 0 along with position: absolute on the button itself. This ensured the button stayed fixed at the bottom of the card regardless of the card's content or size.

These challenges taught me valuable lessons in CSS positioning and interactivity, enhancing both my problem-solving skills and understanding of front-end development techniques.

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

  1. Performance Optimization: Improving load times and efficiency, perhaps by optimizing images, scripts, or CSS.

  2. Code Refactoring: Streamlining your code, improving readability, and adhering to best practices.

Community feedback

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