fitlit's People
fitlit's Issues
how many hours they slept for a specific day
As a developer, I should be able to,
Calculate how many hours they (the user by User ID) slept for a specific day
Determine average stairs climbed, steps taken, and minutes active for a specific date
For all users, determine the average number of:
- Stairs climbed for a specified date
- Steps taken for a specific date
- Minutes active for a specific date
Sass
-
Refactor existing CSS into Sass.
-
Sass should have:
-
variables for colors, fonts, etc.
-
nesting (when/where appropriate).
-
color functions for ensuring a cohesive color scheme.
-
at least one mixin, function or extends.
-
Break Sass into separate files:
-
index.scss
(should import partials) -
variables.scss
(contains all Sass variables or function definitions) -
Identify common/re-used elements to determine remaining partials.
Widgets display
As a user, I should be able to see:
- Widgets for the following:
- Display the amount of water the user consumes daily,
- Display the amount of water consumed over the past week.
Hydration.js TDD
As a developer, I should create a series of tests for each property and method in the Hydration.js class:
- a test that verifies that Hydration has a userID property
- a test that verifies that Hydration has a date property
- a test that verifies that Hydration has a number of ounces property
Determine if a user's daily goal was complete
- For a user, did they reach their step goal for a given day (specified by a date)?
Calculate how many minutes a user was active/day
- For a user, (identified by their
userID
) how many minutes were they active for a given day (specified by a date)?
Testing with Spies
(to be visited after Spies lesson)
find the average sleep quality greater than 3 for a given week
As a developer I should be able to:
Find all users who have the average sleep quality greater than 3 for any week
Create tests for User.js methods
As a developer, I should create a series of tests for each method that lives in the User.js class:
- It should be able to show the user his or her first name
- It should be able to update the user's hydration data by date
- It should be able to update the user's sleep data by data
- it should be able to display the user's average weekly sleep hours
- it should be able to display the user's average weekly sleep quality
- it should be able to show the user the day they climbed the most amount of stairs
- it should be able to show the user's calories consumed by date
- it should be able to show the user's average minutes of activity by week
- it should be able to show the user's average steps taken this week
- it should be able to show the user's average number of flights of stairs taken per week by date;
- it should be able to show the user's trending step days;
- it should be able to show the user's trending stair days;
- it should be able to display their friends' names;
- it should be able to find the total total steps taken this week;
- it should be able to find friends Total Steps for a Week
Remove all for loops from project
As a reviewer, I should not encounter any for loops when reviewing the code that is submitted.
Calculate average activity of minutes/week
- For a user, how many minutes active did they average for a given week (7 days)?
Class Refactoring
- Refactor within your classes to create dynamic methods that use arguments/parameters for changing their behavior.
- Refactor across your classes to create a parent class that others inherit methods from.
Calculate amount of miles a user has walked
- For a specific day (specified by a date), return the miles a user has walked based on their number of steps (use their
strideLength
to help calculate this).
Should be viewable when tested with a colorblind extension
- Your app must still be viewable when tested with a colorblind extension.
Sleep quality of all users
As a developer I should be able to:
Calculate the average sleep quality for all users
Create tests for Sleep.js class properties
As a developer, I should create a series of chai tests for each property in the sleep class:
- it should return a userID
- it should have a date
- it should have hoursSlept for the date
- it should have a sleepQuality property for a given date
Determine what days a user's step goals were exceeded.
- For a user, find all the days where they exceeded their step goal.
hours slept each day over the course of a given week
As a developer, I should be able to,
Calculate how many hours slept each day over the course of a given week (7 days)
over any week not just the previous
create a userRepository
As a developer, I should create a userRepository that does the following:
-
it should hold all of the user Objects
-
it should pass in a parameter that takes in all user data
-
it should return a user's data when the userID is passed in as a parameter
-
it should be able to calculate the average step goal amongst all the users.
Iteration 2
- Create Hydration Card
- Average daily fluid consumption in ounces per user ID
- Calculate fluid ounces consumed by date per user ID
- Calculate the amount of fluid ounces consumed each day for a week
Create index.scss file
- Refactor the css file into a series of sccs files.
- Create an that imports your partials
average sleep quality per day over all time
As a developer, I should be able to,
Calculate the average sleep quality per day overall time by User ID
Hydration Class
As a developer, I should be able to,
see have a Hydration class that holds methods to calculate:
Average daily fluid consumption in ounces per user ID,
fluid ounces consumed by date per user ID,
the number of fluid ounces consumed each day for a week.
Make a metric of your own!
Make a metric of your own! Document it, calculate it, and display it.
Average number of hours slept per day
As a developer, I should be able to,
Calculate average number of hours slept per day
their sleep quality for a specific date
As a developer, I should be able to:
Calculate their sleep quality for a specific day by date
find users who slept the most number of hours
As a developer, I should be able to,
find the users who slept the most number of hours for any date
User Repository TDD Methods
The User Repository should have tests which verify it can do all of the following:
- It should find a user by ID
- it should calculate all users' average step goal
- it should calculate all users' average sleep quality
- it should calculate all users' average steps by date
- it should calculate all users' stairs climbed by date
- it should calculate the average minutes active for all users by a certain date
- it should calculate the average daily water intake for all users by date
- it should be able to return the sleeper with the highest quality of sleep of all users by date
- it should be able to return the sleeper with the longest hours slept by all users
- it should return the worst sleepers in terms of quality by a given date.
sleep quality each day over the course of a given week
As a developer I should be able to:
Calculate the users sleep quality each day over the course of a given week
Build webpack server on LocalHost8080
As a developer, I should be able to type npm run start and have our project be connected to localhost8080 with webpack.
Score ~90% on an Accessibility Audit
- You must score as close to 100% in an Accessibility Audit as possible. Be prepared to explain any accessibility audits your application is failing.
create User Class
As a developer, I should be able to see a user class,
the user class should have a parameter to take in userData Object,
User class should have a method that should return the users first name only
DRY code
- Identify redundant code in your classes & opportunities for DRYing it up.
Be able to tab through your app & use it without a mouse
- As a User, you must be able to tab through your app & use it without a mouse.
IDK JEFF HELP
As a user, I should be able to:
- Find the average number of hours
- Slept per day,
- Average sleep quality per day overall time,
- Hours slept for a specific date,
- Sleep quality for a specific day.
Create tests for the User.js class properties
As a developer, we should create tests for each property and method in the class:
- it should have a userID;
- it should have a name;
- should have an address;
- it should have an email
- it should have a stridelength
- it should have a daily step goal
- it should have totalStepsThisWeek;
- it should have a list of friends;
- it should have an ounces average;
- it should have an ounces record;
- it should have an hoursSleptAverage;
- it should have an average sleep quality;
- it should have a sleepHours record;
- it should have a sleep quality average;
- it should have an activity record;
- it should have an accomplishedDays property;
- it should have a trendingStepDays property;
- it should have a trendingStairsDays property;
Create variables.scss file
- refactor css into a series of scss files
- create a variables.scss file to store all the variables used in the styling
Create our own unique metric!
- Make a metric of your own! Document it, calculate it, and display it.
Identify a user's all-time stair climbing record
- For a user, find their all-time stair climbing record.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.