Pure JS not working, seems it should (Codepen)

Trying to use JS on codepen.io and code isn’t working.
CODE:

function newOption() {
  const checkbox = document.createElement('input');
const typecallout = document.createElement("type=checkbox");
const valuecallout = document.createElement("value=no");
const classcallout = document.createElement("class=checkbox")
checkbox.appendChild(typecallout);
checkbox.appendChild(valuecallout);
checkbox.appendChild(classcallout);
const element = document.getElementById("newLabel");
element.appendChild(checkbox);
}

Any suggestions?

Where is the rest of your code? What is calling this function

All of these are not correct. These are attributes not elements. So createElement isnt going to work. You need to use setAttribute. Which means you should only be using the checkbox variable not all the others.