Design comparison
Solution retrospective
my first attempt to js. please let me know how can i do better on works.
Community feedback
- @A-amonPosted over 3 years ago
Hello! Good work~
I have a few suggestions:
-
The responsiveness seems off for view size of 650 ++ based on dev tools. Try using flexbox or grid for this project instead of just position:absolute almost everything.
-
The image also seems compressed when on certain sizes. But I think it will naturally be solved when you learn how to use flexbox or grid~ Also, you can try using picture tag for switching between mobile and desktop images.
-
Use a form tag for the .fake input instead of a div so that I can press Enter to submit too!
-
Instead of using .main, try using the main tag directly.
-
Instead of directly setting the styles in JS for your button's backgroundImage and boxShadow, since you have already added .error-image class to the input, use the + sibling selector in CSS.
Good luck!
Marked as helpful2 -
- @Amanpatil-DevPosted over 3 years ago
Nice job Writam 👍 Looks good and responds well too
Marked as helpful0 - @aquibkhnPosted over 3 years ago
Hey, you build this very well, but still needs some improvements like the button moving with the width, and also it looks weird on around 900px.
Marked as helpful0@bwritamPosted over 3 years ago@aquibkhn please share some tips where i can find the way out to solve the problem
0
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