@weldu0
Posted
-
Looking at your GitHub repo structure, the image source should not be
src="/qr-code-component-main/images/image-qr-code.png"
. It should besrc="./images/image-qr-code.png"
. This tells GitHub to look for a folder named "images" in the root directory and get the image named "image-qr-code.png" from that folder (the period (dot) is important). -
Also, instead of using
div
for most parts of your code, use semantic HTML. For example, you could use<main>
or<section>
for the.card
element.
I hope you find this helpful :)
Marked as helpful