Agent67
Honorary Master
Hey guys, can anyone help me out with this error I'm getting? I'm trying to make a webpage (SPA is the technical term I think for what I'm trying to do?) that gives you the weather in your current location. I want to use React so that I can learn more about and improve upon it (But it isn't easy when you get constant errors before you even started, lol). After looking around a bit, it seems that Babel is full of shite anyway, is there any way I can bypass the CORS error I'm having on my app.js script, without having to install loads of packages or use complicated toolchains?
P.S (I've tried removing the "text/babel" type from the script that calls app.js, but then it gives me syntax errors in the script itself. I'm using JSX for React).
My code:
github.com
Thanks in advance for the help!
P.S (I've tried removing the "text/babel" type from the script that calls app.js, but then it gives me syntax errors in the script itself. I'm using JSX for React).
My code:
take-homes/Local Weather App at main · moppel-dev/take-homes
Repo for freeCodeCamp's Take Home Projects. Contribute to moppel-dev/take-homes development by creating an account on GitHub.
Thanks in advance for the help!