{"action":"created","issue":{"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13390","repository_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp","labels_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13390/labels{/name}","comments_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13390/comments","events_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13390/events","html_url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/13390","id":208282076,"number":13390,"title":"[beta] Unclear instructions for \"Coding Interview Data Structure Questions: Create a Doubly Linked List\"","user":{"login":"Greenheart","id":6125097,"avatar_url":"https://avatars.githubusercontent.com/u/6125097?v=3","gravatar_id":"","url":"https://api.github.com/users/Greenheart","html_url":"https://github.com/Greenheart","followers_url":"https://api.github.com/users/Greenheart/followers","following_url":"https://api.github.com/users/Greenheart/following{/other_user}","gists_url":"https://api.github.com/users/Greenheart/gists{/gist_id}","starred_url":"https://api.github.com/users/Greenheart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Greenheart/subscriptions","organizations_url":"https://api.github.com/users/Greenheart/orgs","repos_url":"https://api.github.com/users/Greenheart/repos","events_url":"https://api.github.com/users/Greenheart/events{/privacy}","received_events_url":"https://api.github.com/users/Greenheart/received_events","type":"User","site_admin":false},"labels":[{"id":243612366,"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/labels/beta","name":"beta","color":"fbca04","default":false},{"id":252661769,"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/labels/curriculum","name":"curriculum","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-16T23:27:57Z","updated_at":"2017-02-16T23:56:22Z","closed_at":null,"body":"Challenge [create-a-doubly-linked-list](http://beta.freecodecamp.com/en/challenges/coding-interview-data-structure-questions/create-a-doubly-linked-list) has some minor issues with the instructions:\r\n\r\n1. Some paragraphs are split in the middle of sentences.\r\n2. \"Instructions\" needs to be replaced with a `<hr>` (see other sections for examples)\r\n3. `<code></code>` tags to highlight key words like method names.\r\n4. `<dfn></dfn>` tag around the first occurrence of \"Doubly Linked List\".\r\n5. **Unclear description of what the input to the methods will be**:\r\n\r\n> The add method should accept integers or strings and add them to the list and remove should accept an integer or string and remove all copies of this integer or string that exist in the list.\r\n\r\nI think the above could be changed to something like:\r\n\r\n> The <code>add</code> method should add an element to the list, while the <code>remove</code> method removes all occurrences of a given element."},"comment":{"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/comments/280504547","html_url":"https://github.com/freeCodeCamp/freeCodeCamp/issues/13390#issuecomment-280504547","issue_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/13390","id":280504547,"user":{"login":"Greenheart","id":6125097,"avatar_url":"https://avatars.githubusercontent.com/u/6125097?v=3","gravatar_id":"","url":"https://api.github.com/users/Greenheart","html_url":"https://github.com/Greenheart","followers_url":"https://api.github.com/users/Greenheart/followers","following_url":"https://api.github.com/users/Greenheart/following{/other_user}","gists_url":"https://api.github.com/users/Greenheart/gists{/gist_id}","starred_url":"https://api.github.com/users/Greenheart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Greenheart/subscriptions","organizations_url":"https://api.github.com/users/Greenheart/orgs","repos_url":"https://api.github.com/users/Greenheart/repos","events_url":"https://api.github.com/users/Greenheart/events{/privacy}","received_events_url":"https://api.github.com/users/Greenheart/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T23:56:22Z","updated_at":"2017-02-16T23:56:22Z","body":"@Manish-Giri Seems like I missed [these lines](https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/seed/challenges/08-coding-interview-questions-and-take-home-assignments/coding-interview-data-structure-questions.json#L1259-L1287).\r\n\r\nMy solution uses ES6 `class`es, which explains why the ES5-way of adding these hidden utility methods doesn't work.\r\n\r\n@Manish-Giri Should we rewrite the tail to make sure people with modern browsers who want to use modern JavaScript can do so and still pass the challenge?\r\n\r\nI think one approach would be to simplify the existing `print()` and `printReverse()` to a singel method called `values()` that is visible in the `challengeSeed`. That way, people who want to use classes can do so and see what they need to rewrite to make the challenge work. What do you think? :smile:"}}
{"actor":{"display_login":"Greenheart"}}