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
croganm
croganm•2y ago
What do you mean make it work on github? Like host it on github pages?
Gainzzu
GainzzuOP•2y ago
Yes. It's hosted on github but doesn't load content properly.
croganm
croganm•2y ago
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
Gainzzu
GainzzuOP•2y ago
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!
croganm
croganm•2y ago
Just make sure 😂. Seen it too many times with github But I did notice
croganm
croganm•2y ago
croganm
croganm•2y ago
You're looking for the files in the root directory It's missing the /makeup-website in between all that
croganm
croganm•2y ago
Put the dot at the beginning and it should work, like in the styles tag
Gainzzu
GainzzuOP•2y ago
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
Mannix
Mannix•2y ago
if stuff doesn't load most likely the path is wrong 🙂
Gainzzu
GainzzuOP•2y ago
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
Want results from more Discord servers?
Add your server