Profile Card Component

Solution retrospective
The background was driving me nuts, but I think the result looks good 😅. Any suggestion of how else I could have done it?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @DavidMorgade
Hello and congrats finishing this challenge!
You did manage to get the desired result in the background, but, in cases like this one is better to use
background-image
in your css instead of having theimg
directly in your html, you could use the image directly in yourmain
, and move the image usingbackground-position
.But in this case, the project is very simple and you got it right, so, there is no problem in placing the image in the html file!.
Hope my answer helps you in future projects!
Marked as helpful
Join 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