@zippkidd Oh ok didn't know that. Thanks for your help :+1:
expressycode sends brownie points to @zippkidd :sparkles: :thumbsup: :sparkles:
Good luck, np
@ExpressyCode - wikipedia does have an option to allow cross-origin - add a parameter to the URL &origin=* to allow cross-origin access.
@khaduch cross-origin is that fetch?
@ExpressyCode - I mean that if you are getting cross origin errors, you can direct wikipedia to allow it by adding that parameter. I haven't looked at your code because of some multi-tasking...
@khaduch Oh ok :smile:
@ExpressyCode - I just added it to your URL, and it starts working with that &origin=* tacked onto the end - at least starts echoing objects to the console
@ExpressyCode Also I'm not sure you have the functions laid out correctly, I don't think you need async/await here, and if you do I think you need to await a function that performs the fetch with defined success and error call backs
@ExpressyCode Also you might want to add a search button, right now you are performing a search everytime the users types a key
@khaduch haven't done that yet. Just trying to get a return first:) But now it works. So I can working on it now.
@NJM8 Ok I will read a little about that. But as I understand your have to use async await etc when your using a function. I don't need to if I do it directly in the addEventListener function. I can be wrong! Thanks for pointing it out.
expressycode sends brownie points to @njm8 :sparkles: :thumbsup: :sparkles: