Design comparison
Community feedback
- @MinhKhangTranPosted over 2 years ago
Hi Sumayyah Fahm,
I viewed your solution and I think where the problem lies:
your code is:
<img class="i" src="images/image-qr-code.png" alt="" width="250px " height="250px" border-radius="18px">
But in your code there is no directory with the name of
images
To see your image use this instead:
<img class="i" src="./image-qr-code.png" alt="" width="250px " height="250px" border-radius="18px">
In your code your image is on the same directory as your html so you should find it with the code above.
Keep coding and having fun doing it 🥰.
Marked as helpful2@sumayyah-codePosted over 2 years ago@MinhKhangTran really grateful for your help, it's working now.
0 - @Uber-moodyPosted over 2 years ago
For me, the 404 error often came up due to the Github page's name. Sine your repository name is 'QR-code-component' make sure the name in the pages when you publish it is different and doesn't contain 'QR-code-component'. Hope this helps! it was confusing for me too.
1
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