Here is where I connect the api to the frontend and the information is being pulled. I use the const host as the deployed site but it could also be run on localhost. The search museum function takes in the zipcode and runs it through the api and reutrns what the closest museum is. The display results function then puts the results.