
Newsletter Signup Form with Success Message | React JS โ๏ธ & CSS ๐จ
Design comparison
Solution retrospective
NAH...NOTHING, man!
I definitely missed more than twice with this long-term delay.
What challenges did you encounter, and how did you overcome them?I struggled a lot with the states of React JS, but finiely I figured the logic out๐๐.
What specific areas of your project would you like help with?I don't really know, but for some reason the transition set on buttons doesn't work๐ค.
Please let me know if you find the issue out.
Community feedback
- @asanalievPosted 2 months ago
Hi Marzia,
Quickly reviewed on different screens. The layout looks consistent everywhere. https://pulselet.com/projects/81/layouts
Quick code scanning found 9 issues, but nothing critical. https://pulselet.com/projects/81/issues
Overall, great job! ๐
Marked as helpful1@MarziaJaliliPosted 2 months agoWOW!
I didn't even know that such a web was out there for checking the issues of our websites.
Thanks a MILLION for letting me know. I will start using it from now on.
1@asanalievPosted 2 months ago@MarziaJalili You are very welcome! Please let me know if you want me to test your other projects, or this one after refactoring.
1 - @YacoubDweikPosted 2 months ago
Good Job Afghani!
Transition is not working bcuz of the gradient, when u set a background to be gradient that means this is gonna be background-image and not background-color as u expected.
To make that work consider using pseudo elements and play with their opacity.
1@MarziaJaliliPosted 2 months ago@YacoubDweik Thanks for the quick feedback!
But can I use the
linear-gradient
function with the pseudo elements?I guess we can't.
0@YacoubDweikPosted 2 months ago@MarziaJalili Why not? Something like this:
.gradient-transition { position: relative; width: 300px; height: 200px; background: linear-gradient(to right, #ff7e5f, #feb47b); /* Initial Gradient */ overflow: hidden; } .gradient-transition::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #6a11cb, #2575fc); /* Target Gradient */ opacity: 0; transition: opacity 1s ease-in-out; z-index: 1; /* Ensure it overlays the main gradient */ } .gradient-transition:hover::before { opacity: 1; }
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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