Hi everyone!
Please help, I’m stuck on this step even though it seems like I’m doing everything correctly.
const displayPlantsSet = () => {
const catalogSet = new Set();
catalogSet.add(ballerina);
catalogSet.add(ballerina);
return catalogSet
};
const plantsSet = displayPlantsSet();
console.log(plantsSet)
console.log(plantsSet.size);
Build a Plant Nursery Catalog - Step 27
Thanks!
ILM
2
can you please provide a link to the step?
ILM
3
what error are you getting? the code passes for me
Check Your Code (Ctrl + Enter)
Sorry, your code does not pass. You’re getting there.
You should add the ballerina object a second time to your set within the displayPlantsSet function.
Reset
Help
No results
// running tests
1. You should add the ballerina object a second time to your set within the displayPlantsSet function.
// tests completed
ILM
5
Your solution works from my end. Please try one of the following steps to move forward.
Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.
or - Try the step in incognito or private mode.
or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers).
or - Ensure your browser is up-to-date or try a different browser.
I hope one of these will work for you.
1 Like
Thank you, I did a reset and it worked!