Submitted about 3 years ago
Simple technique but the image did not appear why?
@wanaz13
Design comparison
SolutionDesign
Solution retrospective
Hello guys..i really need you help..why did my image i put in css did not display..i double check the root file image is correct but the image did not appear...i need a solution ..thank you guys
Community feedback
- @Jos02378Posted about 3 years ago
Hey @wanaz13, good job on this solution!
Some suggestions for you:
- The reason why your image doesn't appear is that your image URL is wrong. Since you put your image in a separate folder from the CSS file, your image URL should be
../images/image-header-desktop.jpg
. - You can use
justify-content: space-between
to spread your stats element. - You can try to follow a CSS naming convention called BEM. You can watch this video for more information Watch the video.
- You can try to use relative units like rem and em in the future. Here is a link to an article that explains when to use which unit see the article.
I hope this helps, good luck!
0@wanaz13Posted about 3 years ago@Jos02378 Thank you very much brother.. i really appreciate...
0 - The reason why your image doesn't appear is that your image URL is wrong. Since you put your image in a separate folder from the CSS file, your image URL should be
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