Design comparison
Solution retrospective
Comeback after months of training with JS.
Community feedback
- @VCaramesPosted almost 2 years ago
Hey there! 👋 Here are some suggestions to help improve your code:
- Your
buttons
should have anaria-expanded
and this should be used to open and close the accordion.
- Your JS is unnecessarily overcomplicated ⚠️. At max it should only be 13 lines of code.
- Your content is not responsive ⚠️. Anything under 1000px and the side of your content get cut off and continue as the screen size shrinks.
If you have any questions or need further clarification, feel free to reach out to me.
Happy Coding! 👾
1@ykru6Posted over 1 year ago@vcarames Hello! Sorry for replying in such a long time. May you suggest me how can my JS be more concise just as 13 lines of code you said? And does the "unnecessarily over-complicated" avoidable by any means (in general)? What knowledge or concept am I missing out?
0@ykru6Posted over 1 year ago@vcarames Second One other thing that I wanted to know is how would you approach this problem and how would you dissect it? And is there a skill that I can learn to pinpoint the crucial parts of the problem and weed out unnecessary things?
0 - Your
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