All Tracks/back end development and apis projects/
Đang tải...
Hướng dẫn thử thách
1 / 5

Exercise Tracker

Build a full-stack JavaScript app that is functionally similar to this: <a href="https://exercise-tracker.freecodecamp.rocks" target="_blank" rel="noopener noreferrer nofollow">https://exercise-tracker.freecodecamp.rocks</a>. Working on this project will involve you writing your code using one of the following methods: - Clone <a href="https://github.com/freeCodeCamp/boilerplate-project-exercisetracker/" target="_blank" rel="noopener noreferrer nofollow">this GitHub repo</a> and complete your project locally. - Use a site builder of your choice to complete the project. Be sure to incorporate all the files from our GitHub repo. # --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: "5fb5853f734231456ccb3b05", 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.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.js
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.