Design comparison
SolutionDesign
Solution retrospective
Any Suggestions are Welcome.
Community feedback
- @0xabdulkhaliqPosted over 1 year ago
Hello there π. Congratulations on successfully completing the challenge! π
- I have other recommendations regarding your code that I believe will be of great interest to you.
CSS π¨:
- Looks like the component has been centered properly. But the issue is the content inside the
body
causes overflow on smaller screens and let people scroll the content, this issue want to be cleared because we don't need to usemargin
here it's just causing overflow issues.
- Now remove these
margin
frombody
, after removing you can able to see the changes
body { margin: 1rem; }
- Now the overflow of content has been cleared
.
I hope you find this helpful π Above all, the solution you submitted is great !
Happy coding!
1 - @IryDevPosted over 1 year ago
Hey well done for completed this challengeπ
I have some suggestions to help you to improve your solution :
- You should put the
<div class="attribution">
outside the<main>
tag - then replace the
<div>
tag by semantic tag<footer>
- footer can contain informations about author, copyright etc
HTML :
<main> </main> <footer class="attribution"> </footer>
I also make pull requests on your Github repo so you can merge it if the changes suit you
I hope you'll find this helpful, and your solutions is really good π
0 - You should put the
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