fix(curriculum): clarify exercise tracker (#43169)
* fix(curriculum): clarify exercise tracker
* feat: separate test steps
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* Revert "feat: separate test steps"
This reverts commit 9842aec4e8
.
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
pull/43189/head
parent
b51d0d72f5
commit
2d166c3c0a
|
@ -16,6 +16,48 @@ Build a full stack JavaScript app that is functionally similar to this: <https:/
|
|||
|
||||
When you are done, make sure a working demo of your project is hosted somewhere public. Then submit the URL to it in the `Solution Link` field. Optionally, also submit a link to your project's source code in the `GitHub Link` field.
|
||||
|
||||
# --instructions--
|
||||
|
||||
Your responses should have the following structures.
|
||||
|
||||
Exercise:
|
||||
|
||||
```js
|
||||
{
|
||||
username: "fcc_test"
|
||||
description: "test",
|
||||
duration: 60,
|
||||
date: "Mon Jan 01 1990",
|
||||
_id: "5fb5853f734231456ccb3b05"
|
||||
}
|
||||
```
|
||||
|
||||
User:
|
||||
|
||||
```js
|
||||
{
|
||||
username: "fcc_test",
|
||||
_id: "5fb5853f734231456ccb3b05"
|
||||
}
|
||||
```
|
||||
|
||||
Log:
|
||||
|
||||
```js
|
||||
{
|
||||
username: "fcc_test",
|
||||
count: 1,
|
||||
_id: "5fd01a41c5b5cf05d080502f",
|
||||
log: [{
|
||||
description: "test",
|
||||
duration: 60,
|
||||
date: "Mon Jan 01 1990",
|
||||
}]
|
||||
}
|
||||
```
|
||||
|
||||
**Hint:** For the `date` property, the `toDateString` method of the `Date` API can be used to achieve the expected output.
|
||||
|
||||
# --hints--
|
||||
|
||||
You should provide your own project, not the example URL.
|
||||
|
|
Loading…
Reference in New Issue