https://codepen.io/Refilwe-Dikutle/pen/ByjYGKQ?editors=1112

Hi Fcc fam, so good to be here. so i’ve just finished the javascript email masker lab project from the certified full stack developer curriculum but i cannot get through. the tests have passed except the last one, “ 10. You should log the output of calling maskEmail with email as argument “. i’m not sure what is it i’m doing wrong. please have a peak at my code and let me know where i took a wrong turn. link to the code below

Thanks in advance guys

https://codepen.io/Refilwe-Dikutle/pen/ByjYGKQ?editors=1112

Hi @mmadikutle

email = "mamiki@gmail.com";

console.log(maskEmail("email")
);

You need to call the function with a variable not a string.

Remove the line break so the console log is on one line.

Happy coding

Hi Teller

:smiley: i’ts working thank you.

1 Like