Separate JavaScript from HTML Markup wtih "addEventListener"


         let myButton = document.getElementById("makelistbutton");
         myButton.addEventListener("click", makeApplesList);