Design comparison
Solution retrospective
How can i refactor the javascript and make the code more modular and less hardcoded? And is there a way to create the functionality without using javascript? i am speed running through the challenges for now and comming back to them later on. If you have any advice that i would use later on the rerun, then i would appriciate it. thatnks for feedback.
Community feedback
- @anhduy1202Posted over 3 years ago
You can check out my code :) Your work is great, but I think if one is clicked than the other should be closed so it looks better, and also the card form should remain the same (your card is expanded every time I clicked), check my solution!
Marked as helpful0@heritioPosted over 3 years ago@anhduy1202 I wonder, what part of your css that made the design static and not expanding when clicked?
0
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