Abdul Khaliq 🚀• 72,660
@0xabdulkhaliq
Posted
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have a suggestion regarding your code that I believe will be of great interest to you.
CSS 🎨:
- Looks like the component
button
hover state background has not been properly set yet. We need to apply Gradient instead of Solid colors.
- Just add the following css rules
.btn-summary:hover {
background: linear-gradient(#6542FE, #342CE2);
}
- Now your component's
button
background for hover state has been set properly
- Additionally, I need to address the issue with
import
statement in JavaScript file. Currently it's not widely supported by Browsers. So you can usefetch
withasync/await
methodologies to extract data from local path without any issues.
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful
0
P
Martín Beltrán• 260
@JMBeltranDev
Posted
I hadn't realized that the hover was a gradient. Modify the JS to call the json with fetch.
Thank you.
0