Freecodecamp account got stuck, unable to do anything in my account.. someone pls help

Freecodecamp account got stuck, unable to do anything in my account.. someone pls help
0.0 0

#1

While I was working with the PigLatin code, suddenly page got stuck and unable to access any of the option, go forward/backward topics etc.

Here is my PigLatin code which made the page stuck with.

function translatePigLatin(str)
{
if(!isConsonent(str.charAt(0)))
str.concat(“way”);

else
{
strarr=str.split("");
while(isConsonent(str[0])))
{
st=strarr.slice(1);
strarr.push(st);
}
strarr.join("");
strarr.concat(“ay”);
}
function isConsonent(char)
{
return ![aeiou]/.test(char);
}
return str;
}
translatePigLatin(“consonent”);

#2

getting this error page with that code.


#3

You might have an infinite loop in your code. Try attaching ?run=disabled at the end of the challenge URL.


#4

I had same problem before. I crashed it in seek and destroy in chrome.

Open a different browser and complete the challenge.
Then go back to chrome and start the next challenge.

Or just clear cookies and cache and start again with the challenge.


#5

Thanks a lot!!! :slight_smile: your suggestion worked well…