Design comparison
Solution retrospective
This project was very challenging, as I am a beginner in JS. I researched several solutions to implement in the project. In the next challenges where JS is used, I already have some ways to use.
What challenges did you encounter, and how did you overcome them?I still haven't been able to find a solution on how to make the modal's polygon and I found it difficult to position it when it is activated.
What specific areas of your project would you like help with?I would like help with creating the modal polygon and how to simplify JS further.
Community feedback
- @moadavouPosted 5 months ago
Great work on this project! Here are a few suggestions for improvements:
- The share button is not fully functional on mobile. You can make the popup visible, but it's impossible to hide it again due to the share button being hidden.
HTML
-
"Drawers" is not a sufficient alt text for the image. Try to describe it a bit more.
-
The share button must be inside a
<button>
element. This will make the JavaScript easier as well. -
I don't understand why you have added a "Share-2" icon. This is not needed.
CSS
-
The share button does not change color when it's clicked. Look at the design to see how it's supposed to look.
-
You have used rem units for the font, but why not the container and margin/padding. The text overflows the container when it's increased.
-
Use rem or em for the media queries.
Marked as helpful0@hangtime319Posted 5 months ago@moadavou Thank you very much! I will follow your tips and make the changes
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