I’m at the point where I have to start working w/ API’s and something called resolve and reject in my JS Udemy course. Here is what I got when I tried to make my own from the files.
Well first, when I commented out the rest of the code, and focused on my promise. I have the same code as the instructor and he isn’t getting an error.
Also, I don’t even know what my error means in regards to my code lol. I don’t have anything that is error worthy. Maybe in my html?
For the console inspector in my Firefox console to read out something that’s either resolved or rejected. I guess I’m missing a console log for that lol
**Edit update: ** So I took off the parentheses and it was “resolved” and/or fulfilled lol. It thought I was calling a function that I hadn’t declared. We’re good.