Responsive interactive comment section using React and localstorage

Solution retrospective
Happy overall, but I feel the logic in my jsx files could be improved to reduce the amount of code. Any suggestions?
As always any other suggestions, especially regarding accessibility, are welcome. Thanks, and enjoy tinkering with my project!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @denielden
Hey Alex, congratulations on completing the challenge! You did a great job 😉
Let me give you 2 little tips for optimizing your code:
- i can comment also with empty comment or with blanks, add a control... The
trim()
method can help you -> read here - instead of using
px or %
use relative units of measurement likerem
-> read here
Hope this help! Happy coding 😁
Marked as helpful - i can comment also with empty comment or with blanks, add a control... The
Join 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