Design comparison
SolutionDesign
Community feedback
- @frank-itachiPosted over 1 year ago
Hello there π. You did a good job!
I have some suggestions about your code that might interest you.
HTML π:
- Wrap the page's whole main content in the
<main>
tag. - Make sure that the
<img>
elements in your HTML code has an alternate (descriptive text) short text. The reason for this is that screen readers canβt translate images into text. So to fix this you can do the following<img src=ββ¦β alt=βshort textβ >
CSS π¨:
- The pattern backgrounds are decorative, so that means it's not necessary to add the
<picture>
tag to apply them. Instead, you can do the following:
body { background-image: url('image-path') }
Finally, you can use a media query to use the image mobile version.
I hope you find it useful! π Above all, the solution you submitted is great!
Happy
<coding />
π!Marked as helpful0 - Wrap the page's whole main content in 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