Hello and congratulations on successfully completing this amazing challenge! 😍
I must say, you've done an exceptional job with the user interface. The design is remarkably identical to the original concept, and you should be proud of your attention to detail. Great work! 🎉✨
I encountered a minor issue while using the application. It appears that when I click on the button to generate or fetch a new piece of advice, the content doesn't update as expected. It seems to be working fine for you, but for some reason, it's not working for me.
Fortunately ❗, I have a simple solution that should resolve this problem. To ensure the button triggers the desired behavior and fetches new advice, please make this modification in the way you send the fetch request api:
const response = await fetch(`https://api.adviceslip.com/advice?t=${Math.random()}`);
By implementing this approach, you should be able to fetch and display new advice seamlessly. ✨✨
It seems that there is an issue with the image of the divider not loading properly. To resolve this problem, you can try removing the slash before the image source in the code. Here's how you can make the adjustment:
Instead of:
<img alt="" width="295" height="16" src="/images/pattern-divider-mobile.svg">
Change it to:
<img alt="" width="295" height="16" src="images/pattern-divider-mobile.svg" />
Once again, congratulations 😍 on your impressive achievement, and I hope this solution resolves the issue you encountered. If you have any further questions or require additional assistance, please don't hesitate to ask. Best of luck ❗💥