Profile Card Component Challenge using HTML and CSS
Design comparison
Solution retrospective
Hi, this is my solution to the problem. Is there any other way other than using absolute position for the background images to overlap one image to another, and along with that position it as per us. Any help would be highly appreciated.
Community feedback
- @anoshaahmedPosted almost 3 years ago
Hey good job on this challenge! Your report above shows a few issues. You can fix them by
- wrap everything in your body in
<main>
... OR use semantic tags! .... you can also giverole=""
to the direct children of your<body>
but that's a little frowned upon... Read more here - have at least one
<h1>
in your code
Hope this helps :)
0 - wrap everything in your body in
- @rsrclabPosted almost 3 years ago
Hi, @Shikhar0411 ~
Congratulate on your solution to the challenge on FM platform. I have studied your work carefully and learned a lot from it.
Here are some of the tips I like to provide.
- Please try BEM for naming element classes. It will help you a lot on bigger projects.
- For background, I suggest you to use css
background-image
property or pseudo elements like::before, ::after
.
https://www.frontendmentor.io/solutions/profile-card-solution-m-cH4D2Lp
Here is my solution to this challenge, and if it can help you even a bit, it would be happy to me.
Cheers ~
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