Tell us what’s happening:
do I need to create a function? then show it empty for the event listener? so I need help with this one please
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
function userMadeSelection(){
console.log("user made a selection")
};
playersDropdownList.addEventListener("change", userMadeSelection());
// what empty call back function can go here. make a function at the top thats empty? and in the event listener
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
Challenge Information:
Learn Modern JavaScript Methods by Building Football Team Cards - Step 33