看起来 index.html 是被单独打开的——它需要和 css/、js/、assets/ 放在同一个文件夹里才能运行。
最常见的原因:在压缩包里直接双击了 index.html。Windows 只会把这一个文件解压到临时目录,其余文件夹不会跟过来。
解决办法:
portfolio.zip → 「全部解压缩」index.htmlcss/, js/ and assets/ folders.
Don't open index.html from inside the zip — extract the whole archive first, then open index.html from the extracted folder.