Design comparison
Solution retrospective
I had an issue while styling the body background image. Positioning it and sizing was a bit of an issue. I'll really like an advise here. Thanks.
Community feedback
- @vanzasetiaPosted over 1 year ago
Hi, SixcoolZ! 👋
I recommend using pseudo-elements to make positioning them easier.
You can look at this solution for your reference — Frontend Mentor | Profile card with pseudo backgrounds and accessible list coding challenge solution
Great job on using the name of the person for the alternative text. It is also good that you are not including phrases like "image of" or "picture of". 👍
Other suggestions:
- Not every image needs alternative text. Decorative images should not have alternative text (
alt=""
). This will tell the screen reader to skip over the image. As a result, it saves screen reader users time navigating the page. - For your information, decorative images are images that don't add any information and serve only aesthetic purposes.
- Make the profile statistic ("80K Followers" and the other two) a list element.
I hope this helps. Happy coding! 😄
Marked as helpful0@SixcoolZPosted over 1 year agoThanks. It really helped. I got learn new things too, I really appreciate your help. @vanzasetia
0 - Not every image needs alternative text. Decorative images should not have alternative text (
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