{"ScriptPreparationCode":"var container = document.getElementById(\u0027container\u0027);\r\nul = document.createElement(\u0027ul\u0027);\r\nvar html = [];\r\n for ( var i=0; i\u003C2000; i \u002B= 1 ) {\r\n \thtml.push(\u0060\u003Cli\u003E\u003Cp class=\u0022close_button\u0022\u003E${i}\u003C/p\u003E\u003C/li\u003E\u0060);\r\n}\r\n ul.innerHTML = html.join(\u0027\u0027);\r\n container.appendChild(ul);","TestCases":[{"Name":"style","Code":"var closeBannerButtons = document.querySelectorAll(\u0027.close_button\u0027);\r\nfor(let closeButton of closeBannerButtons) {\r\n closeButton.addEventListener(\u0027click\u0027, function() {\r\n this.parentElement.style.display = \u0027none\u0027;\r\n });\r\n }","IsDeferred":false},{"Name":"childElement","Code":"var closeBannerButtons = document.querySelectorAll(\u0027.close_button\u0027);\r\nfor(let closeButton of closeBannerButtons) {\r\n closeButton.addEventListener(\u0027click\u0027, function() {\r\n var banner_container = this.parentElement;\r\n\t banner_container.parentElement.removeChild(banner_container);\r\n });\r\n }","IsDeferred":false}]}