Mobile-first Responsive Design, React, Redux
Design comparison
Solution retrospective
I definitely learned a lot with this one! Although I was able to build the functionality required for the challenge, I'm not sure if the methods I used were the cleanest way of doing so. Some points of confusion for me are as follows:
- I watched a tutorial that recommended me to create a folder for each React component and place the stylesheet for each component there instead of having one large stylesheet for everything. Although I do find this to be more organized, how can I minimize repeating myself if different components need to have the same styles? Should I use global CSS variables or is there some other technique or method that can be used?
- For the desktop design, I created a separate component (TaskInfoDesktop) to display only when the screen sizes matched those of the desktop while the component that needs to display only in mobile (TaskInfo) was made hidden. Is this good practice or is there another way to create responsive designs without having to create different components for both mobile and desktop screen sizes?
Any and all feedback is more than welcome!
Community feedback
- @denieldenPosted over 2 years ago
Hi Bryan, great work on this challenge! π
Also the
enter
key press not work for add task and I can add task also with blanks, add a control... Thetrim()
method can help you -> read hereOverall you did well π Hope this help!
Marked as helpful0@0-BSCodePosted over 2 years ago@denielden Thank you for the feedback! I forgot about the possibility of entering blanks and pressing the 'enter' keyπ€£ Thanks for pointing it out!
1
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