-
-
Notifications
You must be signed in to change notification settings - Fork 44.1k
[beta] confusing instructions in Root-level Request Logger challenge - Basic Node #13168
Description
Challenge Name
Issue Description
The instructions currently say:
Build a simple logger. For every request, it should log in the console a string taking the following format : method path - ip.
But since there is no example provided it is not immediately clear the exact solution the tests will be looking for. Even with an example, I think it could be a bit confusing unless we explicitly spell it out. Even though I had the basics of the code down, I had to look at the solution to get the specific formatting correct.
I was able to get that there should be a dash in between "path" and "ip", but one might think the rest of the spacing is there just to make things readable, not because it is necessarily required.
A better solution might be to change the instructions to say:
Build a simple logger. For every request, it should log in the console a string taking the following format:
method path - ip. An example would look like:GET /json - ::ffff:127.0.0.1. Note that there is a space betweenmethodandpathand that the dash separatingpathandipis surrounded by a space on either side...
Note: There are some other issues with this challenge as well from a grammar point of view, so could probably all be fixed with one PR