Skip to content

how will i source my image so i can upload it along with my html if i want to host my website on github #146436

Answered by cakecable
Najeeb-Ayo asked this question in Pages
Discussion options

You must be logged in to vote

Hello again, @Najeeb-Ayo

I've went through your repository and I've spotted your problem as you're linking the image wrong. Try this:

<img src="https://github.com/Najeeb-Ayo/challenge/blob/main/image-qr-code.png?raw=true" alt="the image of the qr code to be scan">

What I've Changed:

  • Instead of directing it like a code file I copied the image address

For any further questions you may have use the GitHub Pages Documentation

Let me know if this helps!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mecodeatlas
Comment options

@Najeeb-Ayo
Comment options

Answer selected by Najeeb-Ayo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question
3 participants