我的 codeSearch.html 文件中的 CSS 和 JS 文件存在链接问题。我在stackoverflow中看到了一些答案,但我仍然不知道我哪里错了。
这是我的代码:
我的目录
最佳答案
你的 DTD 类型,如果不是 !DOYTYPE html,你应该将 type 属性添加到你的链接标签中
关于javascript - 无法加载资源 : the server responded with a status of 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39091585/