Tell us what’s happening:
i have looked through the posts, but you have NOT made the answer evident. I unfortunately cannot recommend this to others
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
{
name: "Sergio Almirón";
position: "forward";
number: 1;
isCaptain: false;
nickname: null
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0
Challenge Information:
Learn Modern JavaScript Methods by Building Football Team Cards - Step 12
Please talk to us about how the instructions are confusing for you. Communication is a critical coding skill
Check the syntax of how the other objects in your code are structured.
ugh. that requires me to go back and forth from page to page, but i know that .some() is an arrow function, and it replaces test. im probably just gonna switch to odin project.
you guys don’t wanna help
nope. still dont get it bud
It’s hard to help if you don’t provide specific information about how you are stuck. We can’t write the answer for you.
sam_amos:
name: "Sergio Almirón";
Do the other objects you’ve written contain semicolons?
this is what i have now:
const isSpam.some() = (msg) => helpRegex.test(msg) => return denyList.some()
and now:
const isSpam = (msg) => helpRegex.test(msg) => return denyList.some()
and now:
const isSpam = (msg) => helpRegex.test(msg).some()
and this is what i have now:
const isSpam = denyList.some((regex.msg) =>
return true
);
That doesn’t correspond to the linked question?
system
Closed
January 2, 2025, 2:42pm
12
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.