Tell us what’s happening:
Unable to pass the last 2nd level
The following is my repl solution for the last second requirement of this course but I’m confused that it doesn’t pass in the curriculum page but no problems found in my repl site.
What else I need to add in the code? I’m using Opera window.
This can be your repl’s live web URL and it should work; it always does for me. I believe it should route to the same place as localhost should be relative to your repl but I always use the live URL.
According to the previous challenge directions I linked above, this has to be at root level. This looks like you have it inside a suite() (unless you’ve added another suite() layer to the boilerplate).
To get the fCC tests to work you’ll have to have everything working with your repl. Then, start your repl in one tab and the tests immediately in another tab. There is another solution offered that adds an after() hook, but I’ve not had success with that method.
Nevermind. I passed all the test. Not sure why. Maybe because of the way it is coded in javascript. If out of proper placement of code, the who script will not be accepted in the curriculum website.