I have no idea what I am doing.
src, script, I’m confused.
I have this: https://jsfiddle.net/8x7td962/1/
Still can’t get it to pass.
function removeIframeScripts() {
const scripts = document.querySelectorAll("script");
scripts.forEach(function removeScript(src) {
let url = src.getAttribute(src);
if (url === "https://www.youtube.com/iframe_api") {
url.remove("script");
}
});
}