Design comparison
Solution retrospective
Feedback are welcome!. Curious to know, what are the best way to solve this challenge.
Community feedback
- Account deleted
Hi!, congrats on completing this challenge. 🥳🎊
Here some tips to improve your code. 🚀
Background images are for decorative purposes, they do not add value to your website. What you can do to fix it is the following, add the
aria-hidden='true'
attribute and set thealt
attribute to empty, like soalt=''
. You can also choose to use thebackground-image
property, thus avoiding using the above.Example:
<img src="images/pattern-background-desktop.svg" id="img1" alt="" aria-hidden='true' > <img src="images/pattern-background-mobile.svg" id="img2" alt="" aria-hidden='true' >
I can see that you have a little reset for the default styles that the browser gives, that's ok. But you can improve it by using other resets like the following:
Your solution is very good. 💯
Happy coding! ✌️🙃
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