Design comparison
Solution retrospective
A fairly simple challenge. I encountered a challenge with adjusting the width of the svg pattern divider, when I adjusted the width property it become disoriented, which raises my question how do I navigate changing the width of an svg?
Community feedback
- @asbhogalPosted over 1 year ago
Hi Megan,
Good work! The API works well and the designs match the mockup reasonably well. Just a few things:
- Your button needs an accessible name for screen readers and assistive technologies
- Locally host your Google fonts for privacy and performance reasons. Since you're using Tailwind, you can add them to your
config
file (either extending or overriding the current theme.) Just make sure to convert the downloaded fonts towoff2
first and remove the@import
directive in yourinput.css
Here's a link in the Discord channel where I've added more info on this Link - Your child elements are overflowing out of your parent container between the breakpoints
1024px
and1472px
, because of the classes which have placed an explicit width of33.333%
. You might want to debug this on your end. Ideally, avoid placing fixed width values on your containers. Usemax-width
values with awidth: 100%
declaration and let the child elements occupy the space naturally. - I'd also suggest changing the color of the attribution text, as its very difficult to make out against the background, and subsequently isn't meeting background/foreground contrast ratio for accessibility
Hope this helps!
Marked as helpful0@MeganKulluPosted over 1 year agoThank you for the valuable feedback Aman. I will implement the changes you have suggested, for the button element what element do you suggest I use instead because I have to have an inner text which is not needed since were are using an svg . @asbhogal
1@asbhogalPosted over 1 year ago@MeganKullu no problem :) for the button, the accessible name just needs to be added to the element itself using
aria
. Here's a good article on how to add this:Hope this helps
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