Search code examples
javascriptgithub-pages

Javascript not working neither locally nor github pages


I had forked autoComplete.js/demo and deployed my fork on github pages at My Github repo - > https://caycaycarly.github.io/. All the source locations are correct, css works, but not javascript. What am I doing wrong?


Solution

  • looks like you forgot to put the json data folder in your forked pages, check using console (f12)