Build an Email Masker - Build an Email Masker

Tell us what’s happening:

am finding is difficult to learn the functions i follow the instructions and my code doesn’t want to pass

Your code so far

function maskEmail (){
  email
}
maskEmail("email");
let email = sheriffkoromah@gmail.com;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

Challenge Information:

Build an Email Masker - Build an Email Masker

Welcome to the forum @sheriffkoromah

What do you want the function to do?

Then break that down into simple steps.

Also review how to use a parameter in a function.

Happy coding

Hi @sheriffkoromah ,

Welcome to the forum!

Here the first point in the User Story is to create a function named maskEmail that takes email as an argument.

Your code doesn’t reflect this. Check this on how to write functions with parameters JavaScript Function Parameters

Hope it helps!