extareaCSS1.value;
      section1.innerHTML = textareaHTML1.value;
      editable2.innerHTML = textareaCSS2.value;
      section2.innerHTML = textareaHTML2.value;
    }

    reset.addEventListener("click", function () {
      textareaHTML1.value = htmlCode1;
      textareaCSS1.value = cssCode1;
      textareaHTML2.value = htmlCode2;
      textareaCSS2.value = cssCode2;
      demo1_active.checked = true;
      demo1_active.parentNode.classList.remove("inactive");
      demo2_active.checked = true;
      demo