Design comparison
Solution retrospective
My image does not show up on gh-pages but it is fine on liveserver. I have tried getting rid of slashes and making sure the path is correct but cannot seem to find the issues. Anybody have any tips?
Community feedback
- @BarissevPosted almost 2 years ago
Hey Matt, firstly you have a missing border-radius in your css for Qr code image, you might check that out. Also, your card title looks like font-weight: regular but in original design its bold. You might also fix that. Card description font color is also not matching with original design.
Regarding to your question, you might try to erase
/
in html after before your image. Which like:Instead : <img class="qr__code" src="/images/image-qr-code.png" alt="QR Code"> Change to: <img class="qr__code" src="images/image-qr-code.png" alt="QR Code">
Hope you can fix it, have a good day!
Marked as helpful0
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