Tell us what’s happening:
I can not submit this task. I created “pick” function with “guess” parameter and clicked “Check your code” and it didn’t submit my task. It displayed “pick should take a parameter named guess.”
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
function easterEgg() {
update(locations[7]);
}
function pick(guess) {
}
// User Editable Region
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 159