Design comparison
Community feedback
- @MachineCode0101Posted over 1 year ago
I was stuck at the same thing, Try removing "/" from <img > and putting it in the same folder as the html. for example this, if you have the image in the same folder as html file. <img src="image-qr-code.png" alt="image-qr-code"></image>
I know this can be frustrating but it helped me but it's a routing issue/feature of GitHub Pages.
Marked as helpful1@Kamlesh0007Posted over 1 year ago@MachineCode0101 yes or add ./ this indicates that image is in same directory of html file
0@MachineCode0101Posted over 1 year ago@Kamlesh0007 correct, It's the same as routing system in Next.js but not as complicated! Thank you for the clarification!
0 - @Kamlesh0007Posted over 1 year ago
Congratulations on completing the challenge!🎉. That's a great achievement, and I'm sure you put a lot of effort into it. I really liked the way you approached the challenge and the code you wrote. You demonstrated a good understanding of the concepts and applied them effectively to solve the problem.I have a few suggestions to improve your code further. You need to add an images folder for displaying the qrcode image
To add an images folder to your GitHub repository, you can follow these general steps:
Ensure that you have the images folder on your local machine, containing the images you want to add. Open your repository on GitHub. Click on the "Add file" button and choose "Upload files" from the dropdown menu.
Drag and drop the images folder from your computer into the file upload area. Add a commit message describing the changes you made (e.g., "Added images folder"). Click on the "Commit changes" button to upload the images folder to your repository.
2
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