
Design comparison
SolutionDesign
Community feedback
- P@raulgaliciabPosted 11 days ago
Hi Yasir,
Great solution! These are the points that I could see as a feedback:
Overall project.
- Having all the logic in one file may not be very readable and maintainable in the long run. With vanilla JavaScript, you could try using ES Modules.
- Since you are using
data.json
, thecontent.txt
file seems to have no purpose in the repository. - Don't forget to update the README.md with your insights. One of the points of doing the projects is to be able to show the results proudly. :)
Checkout Modal:
- You can still scroll the rest of the content when the modal is open. Try to add these styles to the body when the modal is open:
overflow: hidden; height: 100vh;
- If the content in the modal is too large you can't see it complete. One style that could help with this is
overflow-y: auto;
Images:
- You are just using the mobile version of the images. For dynamic display according to screen resolution try the <picture> HTML tag.
Marked as helpful0
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