Design comparison
Solution retrospective
Understanding the background were images was difficult to understand. Eventually found 'background-image' with all its properties was the intended solution.
Are there any other handy ways to display images in the background / their properties to look into?
Community feedback
- @ApplePieGiraffePosted almost 2 years ago
Hi there, Nathan Weber! π
Good effort on this challenge! π
I think using CSS background images to add the background shapes in this challenge is a good way to go. You can experiment with using viewport/relative units to position the background shapes so that they more or less stay in their place when the screen is resized, as I tried to in my solution. π
Besides that, one or two things I suggest are,
- Setting the
alt
text for background image in the top of the card to be an empty string so that it will be ignored by screen readers. Thatβs because that element isnβt necessary or important to the content of the page and as a result doesnβt need to be read by screen readers. - Making sure the avatar image doesn't cover up the text below it (as it is doing on my screen in Google Chrome).
- Using the
ul
andli
tags for the list of stats at the bottom of the card to make your HTML a little more semantic! π
Hope you find these suggestions helpful. π
Keep coding (and happy coding, too)! π
0 - Setting 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