Exercise Tracker 4th, 5th and 6th Challenges Hints

What is your hint or solution suggestion?
Hint:

4th Challenge:
Reading the code for the test can help: freeCodeCamp/exercise-tracker.md at master · freeCodeCamp/freeCodeCamp · GitHub
Here’s part of the test code that reveals what should be in the res.json({}):

if (res.ok) {
        const { _id, username } = await res.json();
        const expected = {
          username, // Example:  "Joe_Smiley
          description: 'test',
          duration: 60,
          _id, // I used the id created by the MongoDB 
          date: new Date().toDateString() // Example: 'Tue Jan 02 1990'
        };

5th Challenge: read OsakaStarbux’s post /comment about the 5th challenge: github.com/freeCodeCamp/freeCodeCamp

6th Challenge:
Return an object that has the array and the array length from the result you produce from the “from & to” parameters and also for the “limit” parameter to pass the test.

If you still need help, feel free to @nwbray-code or message me. :slight_smile:

Challenge: Exercise Tracker

Link to the challenge: