What does this error mean? It's on CodePen:
This is the JavaScript that's giving the error:
SecurityError: Permission denied to access property "css" on cross-origin objectThis is the JavaScript that's giving the error:
JavaScript:
var button = $("#button");
var top = $("#top");
var middle1 = $("#middle1");
var middle2 = $("#middle2");
var bottom = $("#bottom");
button.click(function() {
if (button.hasClass("open")) {
button.removeClass("open");
top.css("display", "block");
} else {
button.removeClass("open");
top.css("display", "none");
}
});
