Lesson 5 of youtube search api with js i.e., Filtering responses with the 'q' parameter here I am facing a null error(not at codecademy environment) when running the code oin a browser.
output is null, at console log of chrome this is the error message:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('file://') does not match the recipient window's origin ('null').
at firefox there is no error in the console but the page is still blank.
I have gone through stack overflow about it and found out the need to use webserver. And so I have installed http apache webserver and then run the code, but output is still the same.
Need some help about it please. Thanks.