Simple technique but the image did not appear why?

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
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Jos02378
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!
- 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
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