1

I am working in a page for a project and I used a template that included CSS and JS files. I worked the code in Visual Studio Code and it worked well locally in my computer. I used GitHub Pages in order to share it but there are elements missng like the button to show/hide the menu, the background, and arrows.

Here is my repository https://github.com/azu-any/reafo.git

This is how it should look: Using VS Code

And how it looks using GitHub: GitHub Pages

Thanks in advance!

PS. I've already checked the url's and they work fine, otherwise other styles would not function.

A17
  • 11
  • 2

1 Answers1

1

Files with names starting with underscore, like _styles_js.js are blocked in GitHub Pages.

You have two options:

  1. Create an empty .nojekyll file in the root of your repository
  2. Get rid of _ prefix from filenames
Yuriy Yakym
  • 3,616
  • 17
  • 30
  • That also applies to directories starting with `_`, like `_next/static/...`. Anyway thanks, I solved issue with your answer. – Tomasz Rozmus Jun 05 '23 at 14:17