Design comparison
Solution retrospective
This is my second time doing this project. I was not happy with the first one. I had a lot of layouts issues, so I decided to improve it and re-submit it. I feel I could improve upon it and I am fine with the current result.
Pls, I will appreciate any feedback. How does the code look? Can you read it without problems? What about the layouts? What would you recommend me to change or do?
Community feedback
- @A-amonPosted over 3 years ago
Hello! Great work~ It's responsive too.
I have a few suggestions:
-
Seems like you were trying to align the input element using margin-top. Remove it and set align-items:center in the form.
-
Add a border:none to the submit button to remove the default border.
-
Put .data in a same div either with .search-bar or #map. Then, adjust the positioning accordingly.
-
If you want to leave the label element empty, you can opt to use aria-label attribute on the input element instead. This way, you can remove the unused label element.
-
Put the main content into main 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