Yes I tried.
This is the error I get
Failed to load resource file://localhost/Applications/MAMP/htdocs/chapter10examples/css/clean.css
XMLHttpRequest cannot load file://localhost/Applications/MAMP/htdocs/chapter10examples/test.txt. Cross origin requests are only supported for HTTP. test.html:1
Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101 test.js:15
Im running it from
file://localhost/Applications/MAMP/htdocs/chapter10examples/test.html
Hi,
I am getting the same problems with MAMP on mac. I cant seem to get it loaded.
Does anyone know how to get the first example of test.txt working by circumventing the CORS?
or
some other easy way to get up and running in MAMP?
Thanks