Website posted on github doesn't work properly
Hello everyone,
Could anyone explain to me how could I make my website work on github? All the files, imgs, js, styles and so on aren't properly read.
Repo: https://github.com/klukas18/makeup-website
Live version of the site works fine.
Thanks for your time 🙂
GitHub
GitHub - klukas18/makeup-website
Contribute to klukas18/makeup-website development by creating an account on GitHub.
11 Replies
What do you mean make it work on github?
Like host it on github pages?
Yes. It's hosted on github but doesn't load content properly.
You have to name your repository a specific name, then you can pull up the website
You need to name your repository klukas18.github.io
Then, you can go to https://klukas18.github.io and it will work
I know that brotha 😄
It's hosted here: https://klukas18.github.io/makeup-website/
But doesn't load any styles or images and I don't know why.
Studio Wizażu Magda Narewska
Profesjonalne makijaże ślubne i okolicznościowe na terenie Białegostoku i okolic. Zapraszam również na indywidualne lekcje wizażu u zawodowej makijażystki!
Just make sure 😂. Seen it too many times with github
But
I did notice
You're looking for the files in the root directory
It's missing the /makeup-website in between all that
Put the dot at the beginning and it should work, like in the styles tag
well damn
that missing javascript works now 😛
omg I'm missing that . in most images, is it why they they dont load up? the path is fokkd
if stuff doesn't load most likely the path is wrong 🙂
well I kinda messed that up, working on fix 🙂
Ok, got js and imgs loading solved. I'm still trying to figure out why my background imgs (added in scss as bacground-image properties) and fonts added with @font-face won't link up properly. Tried few things and they aren't helping. Any ideas anyone?
Yay, I did It 🙂 no idea how to mark this post as solved but the case is closed 🙂 thanks