You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got reminded in nodeschool/discussions#700 that sometimes the problem occurs that people don't see the difference in their output. uppercase/lowercase etc. It might be good to check something like:
functionnormalise(string){returnstring.replace(/\.|\!|\?|\s|/g,"").toLowerCase()}functionisProbablyTypo(expectedAnswer,answer){returnnormalise(expectedAnswer)===normalise(answer)}if(isProbablyTypo(expectedAnswer,answer)){console.log("Looks like you did the right thing but maybe you had a typo in there. We are a little picky to make sure that you understood the question. Maybe you want to check for typos?")}
The text was updated successfully, but these errors were encountered:
I got reminded in nodeschool/discussions#700 that sometimes the problem occurs that people don't see the difference in their output. uppercase/lowercase etc. It might be good to check something like:
The text was updated successfully, but these errors were encountered: