@correlucas
Posted
Hello, @nuwanchandrasekara congratulations for your first solution and π welcome to the Frontend Mentor Coding Community!
I've checked your Git repository to understand why the image was not importing.
You've missed to declare the image path location, this time the image is in the same folder than the index.html so you can insert like this <img class="qr-code" src="image-qr-code.png" alt="qr code">
.
In other cases if you're using the folder locally the local server recognizes the image location, but with a live solution you need to indicate where the image is. [ay attention, when the image is inside the repository folder use dot slash ./
and if is inside a subfolder use dot dot slash ../
If the image is the same folder of the html without folder just add normal path.
π I hope this helps you and happy coding!
Marked as helpful