One of my pens is not working properly, even though I used this code:
window.addEventListener("resize", function(){
location.reload();
}
);
An error occurs when I try to use it:
pen.js:223 Uncaught TypeError: location.removedByCodePen is not a function
I searched for a solution on Stack Overflow, but the suggested solutions didn't work and resulted in a different error.
Refused to display " " in a frame because it set 'X-Frame-Options' to 'sameorigin'.