Use the scripts.js file to add information to the DOM.
NOTE: This file should call methods from your classes to retrieve information. There SHOULD NOT be any DOM manipulation within the User or UserRepository class files
To develop this dashboard, first choose a random user, then on the dashboard for the user
create info card with all of the user's info on the page
Display their first name somewhere prominently on the page to welcome them
For a specific user, display how their step goal compares to the average step goal amongst all users (this displayed should not be hard-coded)
Is your feature request related to a problem? Please describe.
If I was a user, I would like to be able to select any date and be shown data in relation to the date that I chose.
A helper file was created to reduce the amount of repetitive code in our class files.
The issue is that when you run npm test you would need to uncomment line 1 (the require) in your class file so that your class has access to the helper.js.
Once you have run the test and passed all test make sure to comment out line 1 (the require) in your class file so that when you check your webpage or app it is working.
Not sure why one breaks and the other works when having this helper file.
For a user(identified by their userID - this is the same for all methods requiring a specific user's data), the average fluid ounces consumed per day for all the times
For a user, how many fluid ounces they consumed for a specific day (identified by a date)
For a user, how many fluid ounces of water consumed each day over the course of a week (7 days) - return the amount for each day
NOTE: You have to decide which classes should contain each method. Think about whose responsibility it is to own the method.