Hi mozzilians!
I’ve noticed that original solution suggested by mdn (the link to the repo in below) returns bunch of errors in console.
https://github.com/mdn/learning-area/tree/master/javascript/apis/third-party-apis/youtube
Thus i’ve rearanged it using the newer fetch() method, maybe smn will find it helpful. DO NOT FORGET to enter your own API 
Link to my repo in below:
https://github.com/maxganiev/youtube-seach-API/blob/main/youtube-search.html
thanks for sharing that @maxim_ganiev
pls refer to the updated link in below
thanks again @maxim_ganiev