Submitted about 2 years ago
Responsive Profile card component using Bootstrap and Some Custome CSS
@nurularifin83
Design comparison
SolutionDesign
Solution retrospective
Actually, I have completed this challenge, on my computer work very well, but when I uploaded it to Github the background image did not work. I'm still confused about why it did not work, any suggestion is welcome.
Community feedback
- @MelvinAguilarPosted about 2 years ago
Hi @nurularifin83 ๐, good job completing this challenge! ๐
I have some suggestions you might consider to improve your code:
- Use
<footer>
instead of<div class="row footer">
. The<footer>
element contains authorship information.
- Once you update the footer container, the footer should be outside the main content.
- The background pattern is for decoration purposes only, so it can be hidden from screen-readers by adding
aria-hidden="true"
and leaving its alt attribute empty:
<img class="rounded-top-md card-img-top" src="src/media/patterns/bg-pattern-card.svg" alt aria-hidden="true">
- You can display the background image correctly by updating the path:
background: url(../media/patterns/bg-pattern-bottom.svg) bottom -600px right no-repeat, url(../media/patterns/bg-pattern-top.svg) top -500px left -200px no-repeat;
I hope those tips will help you! ๐
Good job, and happy coding! ๐
Marked as helpful1@nurularifin83Posted about 2 years ago@MelvinAguilar Thank you for your help Melvin, background image work now
1 - Use
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