i found the dropdown MENUs a lil difficult and the JS part since i'm new to learning JS but I understood my JS code though... Unsure of the dropdown menu area...
Muhaddis Rehman
@MuhaddisRehmanAll comments
- @Udeme01Submitted over 1 year ago@MuhaddisRehmanPosted over 1 year ago
First of all Congratulations for completing this challenge🎉🎉
The things you could improve are:
-Make transitions a bit faster especially the dropdowns.
-Instead of adding border to the buttons on hover add them in their normal state It's because the addition of border on hover causes height and width difference which cause things to shift every time on hover
Overall it's great👌
Good Luck and Happy coding😊
Marked as helpful0 - @jennifertieuSubmitted over 1 year ago
Was there another way I could have styled the buttons, especially when it came to the hover state?
@MuhaddisRehmanPosted over 1 year agoFor button state you could just add the border on normal state and just change background on hover that way the button won't cause the height difference you get with and without border. A little transition also makes things visually smooth.
.card-button { border: 1px solid var(--very-light-gray); background: var(--very-light-gray); padding: 1rem 2rem; border-radius: 30px; cursor: pointer; color: inherit; transition: all 0.3s ease; } .card-button:hover { background: inherit; }```
Marked as helpful1