@denielden
Posted
Hi Eli, good job! I took some time to look at your code and have some ideas for improving it:
- add
main
tag and wrap the card for Accessibility - remove all
margin
from.card
class - you can remove
height
fromimg
because it is superfluous - try to use flexbox to the body for center the card. Read here -> best flex guide
- after, add
min-height: 100vh
to body because Flexbox aligns child items to the size of the parent container - instead of using
px
try to use relative units of measurement -> read here
Overall you did well 😉
Hope this help and happy coding!
Marked as helpful
@ZorahScope
Posted
@denielden
Thanks for being so in-depth with the feedback. I'll go through and apply all the suggestions when I get the chance.
Much Appreciated 😊
@ZorahScope
Posted
@denielden
Thanks again for your feedback. After applying those fixes I pushed it further doing the following
- Cleaned up my html by removing unneeded elements and internal css
- Applied best practices with accessibility by using both HTML5 and ARIA markup
- Pushed the attribution to the bottom
I learned a lot from this
@denielden
Posted
@elixy You are welcome! Well done, Now it's much better :) Keep it up