I have been working on adding a button to my webpage, but so far I haven't had much success. Every attempt either results in an error or the button not displaying any text (refer to the screenshot below). There should be a button labeled "BUTTON NAME" right above the words "Keys 2". What am I missing?
dropDownButton = document.createElement("button");
dropDownButton.setAttribute("name", "BUTTON NAME")
document.body.appendChild(dropDownButton);